From 74ea9cdbda803db86feb30d770f62a22d1308d6c Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Wed, 13 Jul 2005 21:32:40 +0000 Subject: [PATCH] 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 --- gen_initramfs.sh | 2 +- gen_initrd.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2