mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
BTRFS file system for MAIN and rootfs partition (#65)
* BTRFS file system for MAIN and rootfs partition
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user