From: Eric Edgar Date: Wed, 13 Jul 2005 21:32:40 +0000 (+0000) Subject: Fix typo for evms and removing the swap libs in gen_initramfs X-Git-Tag: v3.4.10.902~495 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74ea9cdbda803db86feb30d770f62a22d1308d6c;p=genkernel.git Fix typo for evms and removing the swap libs in gen_initramfs git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@257 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_initramfs.sh b/gen_initramfs.sh index d6f4d81..e1face1 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -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 diff --git a/gen_initrd.sh b/gen_initrd.sh index 25896a6..9b2e8b2 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -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