Skip to content

Commit

Permalink
image-base.yaml: set bootfs_metadata_csum_seed to true
Browse files Browse the repository at this point in the history
This will tell COSA to set the metadata_csum_seed filesystem feature
for the boot filesystem. This helps us not have to run a filesystem
check before running tune2fs to randomize the filesystem UUID on first boot. See
coreos/fedora-coreos-tracker#735 for more context.

Depends on coreos/coreos-assembler#2228
  • Loading branch information
dustymabe authored and HuijingHei committed Oct 10, 2023
1 parent 85b51d5 commit e27fbae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions image-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ ostree-remote: fedora
# https://github.com/ostreedev/ostree/issues/1265
sysroot-readonly: true

# opt in to using the `metadata_csum_seed` feature of the ext4 filesystem
# for the /boot filesystem. Support for this was only recently added to grub
# and isn't available everywhere yet so we'll gate it behind this image.yaml
# knob. It should be easy to know when RHEL/RHCOS supports this by just flipping
# this to `true` and doing a build. It should error when building the disk
# images if grub doesn't support it.
# https://lists.gnu.org/archive/html/grub-devel/2021-06/msg00031.html
bootfs_metadata_csum_seed: true

# After this, we plan to add support for the Ignition
# storage/filesystems sections. (Although one can do
# that on boot as well)
Expand Down

0 comments on commit e27fbae

Please sign in to comment.