From: Tim Yamin Date: Wed, 26 Jan 2005 18:36:25 +0000 (+0000) Subject: Fix #79502; thanks to rocket for the patch. X-Git-Tag: v3.4.10.902~589 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7aaff40317d4725407aceb2003861060ac7a1f03;p=genkernel.git Fix #79502; thanks to rocket for the patch. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@163 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_initrd.sh b/gen_initrd.sh index 2d1b408..9bc15c7 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -144,6 +144,12 @@ create_base_initrd_sys() { cp -a /lib/evms/* "${TEMP}/initrd-temp/lib/evms" || gen_die 'Could not copy files for EVMS2!' cp -a /etc/evms.conf "${TEMP}/initrd-temp/etc" || gen_die 'Could not copy files for EVMS2!' cp /sbin/evms_activate "${TEMP}/initrd-temp/bin/evms_activate" || gen_die 'Could not copy over vgscan!' + # Fix EVMS2 complaining that it cant find the swap utilities. + # These are not required in the initrd + for swap_libs in "${TEMP}/initrd-temp/lib/evms/*/swap*.so" + do + rm $swap_libs + done fi fi