Draft: Fix rollback-blacklist test on EFI systems
- Oct 04, 2022
-
-
Ariel D'Alessandro authored
The rollback-blacklist test is expecting the update flag to be enabled after a successful update. This is currently working fine on u-boot based systems, but not in the grub EFI (blessing) case. After a successful boot, blessing is resetting the alternative boot conf file: `ostree-0-2*.conf` (i.e. suffix is removed). As the no-suffix filename is considered as a disabled update flag, the checking fails. Signed-off-by:
Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-
Ariel D'Alessandro authored
After a rollback on EFI systems, it might end up without the alternative boot conf, i.e. `ostree-0-2*.conf`. This case is currently failing reporting: "No boot counter found". Fix this by detecting the EFI directory and considering the above case as default values, i.e. no update in progress and no bootcount/limit values set. Signed-off-by:
Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-
Ariel D'Alessandro authored
Currently, --to-console parameter is in the second position. Move it to be the first one as there's no other parameter. Signed-off-by:
Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-