mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 22:16:58 +02:00
disk_layout: use btrfs for the OEM partition
The compression feature of btrfs allows us to store more in the size-limited /usr and OEM partitions. The size should of course still be monitored to not bloat the image but more headroom helps to try things out quickly without hitting the hard limit which fails the build. Use btrfs for the OEM partition but with zlib compression because the outdated GRUB version doesn't support zstd yet. New subvolumes currently can't be used for the OEM partition as default subvolumes because GRUB tries to read the grub.cfg from the top subvolume (at least with our old version). (We could however use subvolumes for the /usr partition when switching to btrfs if that makes any sense.)
This commit is contained in:
parent
d0cf1a4d19
commit
bc97e15c3c
@ -51,7 +51,8 @@
|
||||
"fs_label":"OEM",
|
||||
"type":"data",
|
||||
"blocks":"262144",
|
||||
"fs_type":"ext4",
|
||||
"fs_type":"btrfs",
|
||||
"fs_compression":"zlib",
|
||||
"mount":"/usr/share/oem"
|
||||
},
|
||||
"7":{
|
||||
|
Loading…
Reference in New Issue
Block a user