FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-28-2012, 04:15 AM
"Brian C. Lane"
 
Default 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
 

Thread Tools




All times are GMT. The time now is 10:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org