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

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



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

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


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