Re: [F17-BRANCH] dracut: add missing spaces for module loading (#804522)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/28/2012 12:15 AM, Brian C. Lane wrote:
From: "Brian C. Lane"<bcl@xxxxxxxxxx>

There's some overkill here, but ACK.


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


--
        Peter

Sanity's just a one trick pony anyway.  You only get one trick -- rational
thinking -- but when you're good and crazy, the sky's the limit!
		-- The Tick

01234567890123456789012345678901234567890123456789012345678901234567890123456789

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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux