dracut/copy-initramfs.sh: set $KVER to make this work again.

This commit is contained in:
Juan RP 2013-05-22 08:08:02 +02:00
parent 92a48c5d2f
commit 0c3ec890bc
1 changed files with 1 additions and 0 deletions

View File

@ -3,4 +3,5 @@
# ex: ts=8 sw=4 sts=4 et filetype=sh
# Copy the initramfs back to the new rootfs for proper shutdown.
KVER=$(uname -r)
cp /run/initramfs/live/boot/initrd.lz $NEWROOT/boot/initramfs-${KVER}.img