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
cleanup-cruft
Eric Edgar 20 years ago
parent 9a390bca98
commit 74ea9cdbda

@ -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

@ -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

Loading…
Cancel
Save