Fix typo for evms and removing the swap libs in gen_initramfs
authorEric Edgar <rocket@gentoo.org>
Wed, 13 Jul 2005 21:32:40 +0000 (21:32 +0000)
committerEric Edgar <rocket@gentoo.org>
Wed, 13 Jul 2005 21:32:40 +0000 (21:32 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@257 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_initramfs.sh
gen_initrd.sh

index d6f4d81fbf988d9396ff5bd5fb324d88c176bc51..e1face1db8f444e1027d108ff2766dcc1778f2f9 100644 (file)
@@ -253,7 +253,7 @@ create_evms2_cpio(){
 
                        # Fix EVMS2 complaining that it can't find the swap utilities.
                        # These are not required in the initramfs
-                       for swap_libs in "${TEMP}/initramfs-evms2-temp/lib/evms/*swap*.so"
+                       for swap_libs in "${TEMP}/initramfs-evms2-temp/lib/evms/*/swap*.so"
                        do
                                rm ${swap_libs}
                        done
index 25896a6e74fefb0616b8e3d4d2c0768d24fe605f..9b2e8b27d672de4ed42a6c71af356f32f837110f 100644 (file)
@@ -179,7 +179,7 @@ create_base_initrd_sys() {
                        # These are not required in the initrd
                        for swap_libs in "${TEMP}/initrd-temp/lib/evms/*/swap*.so"
                        do
-                               rm $swap_libs
+                               rm ${swap_libs}
                        done
                fi
        fi