Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   dracut: add missing spaces for module loading (#804522) (http://www.linux-archive.org/debian-user/649699-dracut-add-missing-spaces-module-loading-804522-a.html)

"Brian C. Lane" 03-28-2012 04:15 AM

dracut: add missing spaces for module loading (#804522)
 
From: "Brian C. Lane" <bcl@redhat.com>

Missed some needed spaces in the lists of modules.
---
dracut/anaconda-modprobe.sh | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/dracut/anaconda-modprobe.sh b/dracut/anaconda-modprobe.sh
index e3d98ec..20f173f 100644
--- a/dracut/anaconda-modprobe.sh
+++ b/dracut/anaconda-modprobe.sh
@@ -3,23 +3,24 @@
ARCH=$(uname -m)
KERNEL=$(uname -r)

-MODULE_LIST="cramfs squashfs iscsi_tcp"
+MODULE_LIST="cramfs squashfs iscsi_tcp "

SCSI_MODULES=/lib/modules/$KERNEL/kernel/drivers/scsi/device_handler/
for m in $SCSI_MODULES/*.ko; do
- MODULE_LIST+="`basename $m .ko` "
+ MODULE_LIST+=" `basename $m .ko` "
done

if [ "$ARCH" != "s390" -a "$ARCH" != "s390x" ]; then
- MODULE_LIST+="floppy edd iscsi_ibft"
+ MODULE_LIST+=" floppy edd iscsi_ibft "
fi

if [ "$ARCH" = "ppc" ]; then
- MODULE_LIST+="spufs"
+ MODULE_LIST+=" spufs "
fi

-MODULE_LIST+="raid0 raid1 raid5 raid6 raid456 raid10 linear dm-mod dm-zero
- dm-mirror dm-snapshot dm-multipath dm-round-robin dm-crypt cbc sha256 lrw xts"
+MODULE_LIST+=" raid0 raid1 raid5 raid6 raid456 raid10 linear dm-mod dm-zero
+ dm-mirror dm-snapshot dm-multipath dm-round-robin dm-crypt cbc
+ sha256 lrw xts "

for m in $MODULE_LIST; do
modprobe $m
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 01:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.