From: Eric Edgar Date: Mon, 18 Jul 2005 20:16:38 +0000 (+0000) Subject: Fix evms bugs with missing sbin for an initrd X-Git-Tag: v3.4.10.902~483 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=64902a2b41ca6095b9c3c8a98e0f47197cab8f61;p=genkernel.git Fix evms bugs with missing sbin for an initrd git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@269 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_initrd.sh b/gen_initrd.sh index 850edf0..f6753cb 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -165,6 +165,8 @@ create_base_initrd_sys() { then print_info 1 'EVMS2: Adding support...' mkdir -p ${TEMP}/initrd-temp/lib + mkdir -p ${TEMP}/initrd-temp/sbin + mkdir -p ${TEMP}/initrd-temp/etc cp -a /lib/ld-* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' cp -a /lib/libc-* /lib/libc.* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' cp -a /lib/libdl-* /lib/libdl.* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' @@ -174,7 +176,7 @@ create_base_initrd_sys() { cp -a /lib/evms "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' 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/sbin/evms_activate" || gen_die 'Could not copy over vgscan!' + cp /sbin/evms_activate "${TEMP}/initrd-temp/sbin/evms_activate" || gen_die 'Could not copy over evms_activate!' # 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"