fix: Enable snap preseeding with ppc64el images where /boot/vmlinux is used instead of /boot/vmlinuz. (LP: #2038957)
ppc64el still uses /boot/vmlinux so we need to determine the boot file name as non ppc64el use /boot/vmlinuz. This is then used to determine the kernel major minor version installed so that the correct apparmor features can be used during snap preseeding. This preseeding was failing for ppc64el for the mantic 6.5 kernel as the /boot/vmlinuz being checked did not exist. (cherry picked from commit 089646a32f927f32e9e8961e231391f0bcb6f66b) # Conflicts: # debian/changelog # live-build/functionsuse-lxd-installer-jammy
parent
0687a14b91
commit
11d1063be4
Loading…
Reference in new issue