Project

General

Profile

Actions

action #127196

closed

fix ignition/combustion firstboot detection

Added by lnussel 12 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2023-04-04
Due date:
2023-04-25
% Done:

100%

Estimated time:

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

Actions #1

Updated by lnussel 8 months ago

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.

Actions #2

Updated by favogt 8 months ago

  • 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.

Actions #3

Updated by favogt 7 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

All in Tumbleweed meanwhile.

Actions

Also available in: Atom PDF