kernel-install: cleanup old kernel binary on remove
Don't let kernel images accumulate on EFI partition.
(cherry picked from commit 861ddc9ce0
)
This commit is contained in:
parent
306330e042
commit
06e260e92d
@ -105,5 +105,6 @@ case "$COMMAND" in
|
||||
mv $EFI_DIR/xen.cfg.new $EFI_DIR/xen.cfg
|
||||
fi
|
||||
rm -f "$EFI_DIR/initramfs-${KVER}.img"
|
||||
rm -f "$EFI_DIR/vmlinuz-${KVER}"
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user