From 7601096f1a2aecd0e050a87e8e3569c900aff20e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 19 May 2013 12:36:21 +0200 Subject: Add another script for dracut to copy kmods from initramfs to the new rootfs. --- dracut/copy-kmods.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dracut/copy-kmods.sh (limited to 'dracut/copy-kmods.sh') 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 -- cgit 1.4.1