diff options
author | Juan RP <xtraeme@gmail.com> | 2013-05-22 08:08:02 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-05-22 08:08:02 +0200 |
commit | 0c3ec890bc633206443ad0569a2900c44c98797b (patch) | |
tree | a569b03e888819238e0ac1ef11380dcbd63ae273 /dracut | |
parent | 92a48c5d2f8f194fecf26cfa778ec92c7be69ccf (diff) | |
download | hrmpf-0c3ec890bc633206443ad0569a2900c44c98797b.tar.gz hrmpf-0c3ec890bc633206443ad0569a2900c44c98797b.tar.xz hrmpf-0c3ec890bc633206443ad0569a2900c44c98797b.zip |
dracut/copy-initramfs.sh: set $KVER to make this work again.
Diffstat (limited to 'dracut')
-rw-r--r-- | dracut/copy-initramfs.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |