You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
install to-filesystem: support opt-out for the root and boot mountspec kernel arguments #1441
I am working on using bootc install to-filesystem to create disk images for Fedora CoreOS.
Currently this works with theses osbuild changes, but the resulting disk image have root=UUID... and boot=UUID... kernel arguments baked in.
This causes issues because ignition generates new uniques UUIDs for those filesystems during the first boot, and if the root argument is already present, some of that logic get short-circuited:
changed the title [-]install to-filesystem: support opt-out for the `root` mountspec kernel argument[/-][+]install to-filesystem: support opt-out for the `root` and `boot` mountspec kernel arguments[/+]on Jul 23, 2025
Yes, I tried playing with it but the only way to get the image to boot is to remove the karg entirely.
I guess we could have a dumb-firstboot placeholder value and look for it, but I suppose bootc won't be happy if the mountspec is invalid?
Oh right yes, we should support omitting the kargs entirely. We'll want that for DPS based too. Hmm, maybe we just make --root-mount-spec= i.e. the empty string mean to omit it.
Oh right yes, we should support omitting the kargs entirely. We'll want that for DPS based too. Hmm, maybe we just make --root-mount-spec= i.e. the empty string mean to omit it.
Activity
[-]install to-filesystem: support opt-out for the `root` mountspec kernel argument[/-][+]install to-filesystem: support opt-out for the `root` and `boot` mountspec kernel arguments[/+]cgwalters commentedon Jul 23, 2025
Did you see this coreos/fedora-coreos-tracker#1827 (comment) ?
jbtrystram commentedon Jul 23, 2025
Yes, I tried playing with it but the only way to get the image to boot is to remove the karg entirely.
I guess we could have a dumb-firstboot placeholder value and look for it, but I suppose bootc won't be happy if the mountspec is invalid?
cgwalters commentedon Jul 23, 2025
Oh right yes, we should support omitting the kargs entirely. We'll want that for DPS based too. Hmm, maybe we just make
--root-mount-spec=i.e. the empty string mean to omit it.dustymabe commentedon Jul 24, 2025
This SGTM!
install: skip mountspec kargs when passed empty rootspec
install: skip mountspec kargs when passed empty rootspec
install: skip mountspec kargs when passed empty rootspec
install: skip mountspec kargs when passed empty rootspec
install: skip mountspec kargs when passed empty rootspec
cgwalters commentedon Aug 1, 2025
Fixed by 560711d
sheng: tell bootc this device has no bootloader and no separate /boot