From 0c3ec890bc633206443ad0569a2900c44c98797b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 22 May 2013 08:08:02 +0200 Subject: dracut/copy-initramfs.sh: set $KVER to make this work again. --- dracut/copy-initramfs.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'dracut') diff --git a/dracut/copy-initramfs.sh b/dracut/copy-initramfs.sh index b5c43dc..3f45bf7 100644 --- a/dracut/copy-initramfs.sh +++ b/dracut/copy-initramfs.sh @@ -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 -- cgit 1.4.1