Explorar el Código

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

Juan RP hace 12 años
padre
commit
0c3ec890bc
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      dracut/copy-initramfs.sh

+ 1 - 0
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