Fixed the noload module code. Thanks to Mijail Fedorovich <mfedorovich@gmail.com...
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 7 Nov 2007 20:59:45 +0000 (20:59 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 7 Nov 2007 20:59:45 +0000 (20:59 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@556 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
generic/initrd.scripts

index 0d55bb5709c945b233ff0bf7eba478ea8b9b1bba..83e7fd0a054c5179166b3af811a913bb93e1106d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  07 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+  generic/initrd.scripts:
+  Fixed the noload module code. Thanks to Mijail Fedorovich
+  <mfedorovich@gmail.com> for pointing it out in bug #198187.
+
   07 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org>
   generic/initrd.scripts, generic/linuxrc:
   Added an update patch from Alon Bar-Lev <alonbl@gentoo.org> in bug #197244
index 670462cf60a66f891209c9c5a7c547da9c08bcc9..4dedb23b55a3ec96a896e52e33e8c02c674b4ebd 100644 (file)
@@ -43,7 +43,7 @@ modules_scan() {
        for x in ${MODS}
        do
                MLOAD=`echo ${MLIST} | sed -e "s/.*${x}.*/${x}/"`
-               if [ "${MLIST}" = "${x}" ] # Only module to no-load
+               if [ "${MLOAD}" = "${x}" ] # Only module to no-load
                then
                        echo -e "${BOLD}   ::${NORMAL} Skipping ${x}..."
                elif [ "${MLOAD}" = "${MLIST}" ] # == No change == No specified no-load