action #127196
closed
fix ignition/combustion firstboot detection
Added by lnussel almost 2 years ago.
Updated over 1 year ago.
Description
ignition/combustion currently read /boot/writable/firstboot_happened to detect first boot. This is grub specific. We need a better mechanism that works with systemd-boot
Was thinking to just create a snapshot in the first initrd always, independent of combustion. A new bootloader config would be generated then that would omit the firstboot flags.
- Status changed from New to In Progress
This PR implements a new mechanism: https://github.com/openSUSE/combustion/pull/4
A new firstboot.target in the initrd is started if there is no /etc/machine-id yet (mirror ConditionFirstBoot), /var/lib/YaST2/reconfig_system exists (reuse the YaST way to trigger it from the system itself) or either combustion.firstboot or ignition.firstboot appear on the kernel cmdline.
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
All in Tumbleweed meanwhile.
Also available in: Atom
PDF