Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel-install: fix uki-copy deinstall
For "kernel-install remove ..." only the kernel version is passed, not the kernel image. So auto-detecting KERNEL_INSTALL_IMAGE_TYPE and setting KERNEL_INSTALL_LAYOUT does not work for uninstall. The 90-uki-copy.install plugin must consider this and *not* exit early for the "remove" command, otherwise $BOOT_ROOT will be filled with stale kernel images. Signed-off-by: Gerd Hoffmann <[email protected]>
- Loading branch information