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