copy-kmods.sh -> copy-initramfs.sh; do not copy kmods, just the initramfs for shutdown.

This commit is contained in:
Juan RP
2013-05-21 21:35:35 +02:00
parent 46f0398357
commit e05ce506e8
2 changed files with 1 additions and 8 deletions

6
dracut/copy-initramfs.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
# Copy the initramfs back to the new rootfs for proper shutdown.
cp /run/initramfs/live/boot/initrd.lz $NEWROOT/boot/initramfs-${KVER}.img