Open bencorrado opened 2 days ago
This is related to https://github.com/kairos-io/kairos/pull/2981
umm nice, I think this scenario is something that we never tested, upgrading to a different cmdline artifact.
I wonder how we can fix this, search for norola and then fallback to norole_* ?
Kairos version:
CPU architecture, OS, and Version:
Linux sparkly-maroon-pigeon 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug When applying a UKI image using
sudo kairos-agent upgrade --source oci:<SOURCE>
and using--extend-cmdline "ima_appraise=fix ima_template=ima-sig ima_policy=tcb"
with enki while following https://kairos.io/v3.1.3/docs/upgrade/trustedboot/ the agent fails the installer as it is looking for/efi/EFI/Kairos/norole.efi
which does not exist because it is namednorole_install-mode_ima_appraise_fix_ima_template_ima-sig_ima_policy_tcb.efi
To Reproduce On the build machine:
On the target:
sudo kairos-agent upgrade --source oci:registry.corrado.farm/deeep-os-upgrade:nov11-test
Expected behavior It should upgrade with the extended command line support.
Logs
Additional context