-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
Hello,
I'm failing to understand how the greenboot prevents for bootloops and how it decrements the boot_counter
on each failure.
Only place I've found where the variable is decremented is in the static grub config:
Line 13 in 332e5e3
decrement boot_counter |
This seems to depend on bootupd, however with the RPM packages in regular Fedora (dist-git) and CentOS repositories the dependency on bootupd and the file greenboot.cfg
grub file cannot be found.
Line 22 in 332e5e3
Requires: bootupd |
Line 69 in 332e5e3
install -D -t %{buildroot}%{_prefix}/lib/bootupd/grub2-static/configs.d grub2/greenboot.cfg |
The greenboot-grub2-set-counter
script is only called once without a parameter...
How should this work outside of Fedora IoT? Or what am I missing?
Thank you.