kernel-install: cleanup old kernel binary on remove

Don't let kernel images accumulate on EFI partition.
pull/42/head mm_861ddc9c
Marek Marczykowski-Górecki 6 years ago
parent 03959b670c
commit 861ddc9ce0
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -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…
Cancel
Save