BTRFS file system for MAIN and rootfs partition (#65)

* BTRFS file system for MAIN and rootfs partition
This commit is contained in:
tiopex
2023-12-13 07:14:00 +01:00
committed by GitHub
parent 2f89873479
commit 130d2be1f3
33 changed files with 165 additions and 162 deletions

View File

@@ -4,6 +4,7 @@ image bootfs.vfat {
files = {
"zImage",
"suniv-f1c100s-miyoo.dtb",
"suniv-f1c100s-miyoo-4bit.dtb",
"boot.scr",
"boot/miyoo-boot.bmp",
"boot/autorun.inf",
@@ -14,32 +15,10 @@ image bootfs.vfat {
"boot/modules.custom.sh",
"boot/normalboot.custom.sh",
}
file configs/manifest {
image = "boot/configs/manifest"
}
file configs/.volume.conf {
image = "boot/configs/.volume.conf"
}
file configs/.buttons.conf {
image = "boot/configs/.buttons.conf"
}
file configs/.batterylow.conf {
image = "boot/configs/.batterylow.conf"
}
file configs/.backlight.conf {
image = "boot/configs/.backlight.conf"
}
}
size = 8M
}
image mainfs.vfat {
vfat {
label = "MAIN"
}
mountpoint = "../../../images/main/"
size = 640M
}
image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
@@ -60,7 +39,7 @@ image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
image = "rootfs.btrfs"
}
partition swap {
@@ -70,8 +49,8 @@ image ${IMAGE_NAME:-miyoo-cfw-2.0.0.img} {
}
partition main {
partition-type = 0xc
partition-type = 0x83
bootable = "false"
image = "mainfs.vfat"
image = "main.img"
}
}