Skip to content

Commit

Permalink
kernel-install: cleanup old kernel binary on remove
Browse files Browse the repository at this point in the history
Don't let kernel images accumulate on EFI partition.
  • Loading branch information
marmarek committed May 22, 2018
1 parent 03959b6 commit 861ddc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-config/kernel-xen-efi.install
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 861ddc9

Please sign in to comment.