diff options
author | Juan RP <xtraeme@gmail.com> | 2013-05-21 21:35:35 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-05-21 21:35:35 +0200 |
commit | e05ce506e8824aa09809e88bd9104858faf64ce4 (patch) | |
tree | ffdeb461c075cba2e1b86a1051237c3d4a7a585d /dracut/copy-kmods.sh | |
parent | 46f0398357b72c14842713e5a3428fcbc097940c (diff) | |
download | hrmpf-e05ce506e8824aa09809e88bd9104858faf64ce4.tar.gz hrmpf-e05ce506e8824aa09809e88bd9104858faf64ce4.tar.xz hrmpf-e05ce506e8824aa09809e88bd9104858faf64ce4.zip |
copy-kmods.sh -> copy-initramfs.sh; do not copy kmods, just the initramfs for shutdown.
Diffstat (limited to 'dracut/copy-kmods.sh')
-rw-r--r-- | dracut/copy-kmods.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/dracut/copy-kmods.sh b/dracut/copy-kmods.sh deleted file mode 100644 index a6b4b14..0000000 --- a/dracut/copy-kmods.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- -# ex: ts=8 sw=4 sts=4 et filetype=sh - -# Copy all modules from initramfs to new rootfs. -KVER=$(uname -r) -mkdir -p $NEWROOT/usr/lib/modules -cp -a /usr/lib/modules/$KVER/kernel/* $NEWROOT/usr/lib/modules/$KVER/kernel/ -depmod -b $NEWROOT/usr - -# Copy the initramfs back to the new rootfs for proper shutdown. -cp /run/initramfs/live/boot/initrd.lz $NEWROOT/boot/initramfs-${KVER}.img |