kernel-install: (EFI) really install kernel image

Not only add it to the configuration.

Fixes QubesOS/qubes-issues#1492
This commit is contained in:
Marek Marczykowski-Górecki 2015-12-05 15:18:08 +01:00
parent 8a9d3de1ef
commit 1430861c6b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -58,6 +58,7 @@ case "$COMMAND" in
# then change the default # then change the default
sed -e "s/default=.*/default=$KVER/" -i $EFI_DIR/xen.cfg sed -e "s/default=.*/default=$KVER/" -i $EFI_DIR/xen.cfg
cp "/boot/vmlinuz-$KVER" "$EFI_DIR/"
dracut -f "$EFI_DIR/initramfs-${KVER}.img" "$KVER" dracut -f "$EFI_DIR/initramfs-${KVER}.img" "$KVER"
;; ;;
remove) remove)