copy-kmods.sh -> copy-initramfs.sh; do not copy kmods, just the initramfs for shutdown.
This commit is contained in:
6
dracut/copy-initramfs.sh
Normal file
6
dracut/copy-initramfs.sh
Normal 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
|
||||
Reference in New Issue
Block a user