diff options
author | Juan RP <xtraeme@gmail.com> | 2013-05-19 12:36:21 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-05-19 12:36:21 +0200 |
commit | 7601096f1a2aecd0e050a87e8e3569c900aff20e (patch) | |
tree | 977156e0b6cb61adce9d7cf79215bd374bb60fcc /dracut/copy-kmods.sh | |
parent | cb1b9f3ca94a1d5f0e0db515100928e0f2cb161b (diff) | |
download | hrmpf-7601096f1a2aecd0e050a87e8e3569c900aff20e.tar.gz hrmpf-7601096f1a2aecd0e050a87e8e3569c900aff20e.tar.xz hrmpf-7601096f1a2aecd0e050a87e8e3569c900aff20e.zip |
Add another script for dracut to copy kmods from initramfs to the new rootfs.
Diffstat (limited to 'dracut/copy-kmods.sh')
-rw-r--r-- | dracut/copy-kmods.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dracut/copy-kmods.sh b/dracut/copy-kmods.sh new file mode 100644 index 0000000..a76031c --- /dev/null +++ b/dracut/copy-kmods.sh @@ -0,0 +1,7 @@ +#!/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. +mkdir -p $NEWROOT/usr/lib/modules +cp -a /usr/lib/modules/* $NEWROOT/usr/lib/modules |