coreos / coreos-assembler

Tooling container to assemble CoreOS-like systems
https://coreos.github.io/coreos-assembler/
Apache License 2.0
335 stars 165 forks source link

set sysroot.bootprefix true in OSTree config #3718

Closed dustymabe closed 7 months ago

dustymabe commented 7 months ago

This setting will make it so that BLS config entries get prepended with /boot. OSTree already places a boot -> . symlink in the root of the boot filesystem prepending with /boot will always just work.

For context see https://github.com/osbuild/osbuild/issues/1566#issuecomment-1921908500

This also allows for dropping one of the upstream OSBuild zipl stage patches.

jlebon commented 7 months ago

Note BTW the upstream default will change in https://github.com/ostreedev/ostree/pull/3156, which would make adding a knob unnecessary. (Unless it's to set it to false though then maybe the description should be updated.)

dustymabe commented 7 months ago

Note BTW the upstream default will change in ostreedev/ostree#3156,

+1

dustymabe commented 7 months ago

added a few more commits here to fix a problem recently introduced.