Fixed lvm/evms code for initrd generation. Thanks to Vinny <vfuria@gmail.com> on bug #179480 for pointing it out.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@518 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 18 years ago
parent 51ba709e2c
commit 4ccd40b121

@ -2,6 +2,10 @@
# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
21 Jun 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_initrd.sh:
Fixed lvm/evms code for initrd generation. Thanks to Vinny
<vfuria@gmail.com> on bug #179480 for pointing it out.
21 Jun 2007; Chris Gianelloni <wolf31o2@gentoo.org> alpha/modules_load,
generic/initrd.defaults, ia64/modules_load, ppc/modules_load,
ppc64/modules_load, um/modules_load, x86/modules_load,

@ -193,7 +193,7 @@ create_base_initrd_sys() {
# ret=$?
# if [ ${ret} != 0 ]
# then
cp /etc/lvm/lvm.conf "${TEMP}/initramfs-lvm2-temp/etc/lvm/" ||
cp /etc/lvm/lvm.conf "${TEMP}/initrd-temp/etc/lvm/" ||
gen_die 'Could not copy over lvm.conf!'
# else
# gen_die 'Could not copy over lvm.conf!'
@ -215,7 +215,7 @@ create_base_initrd_sys() {
|| gen_die 'Could not copy files for EVMS2!'
if [ -n "`ls /lib/libgcc_s*`" ]
then
cp -a /lib/libgcc_s* "${TEMP}/initramfs-evms2-temp/lib" \
cp -a /lib/libgcc_s* "${TEMP}/initrd-temp/lib" \
|| gen_die 'Could not copy files for EVMS2!'
fi
cp -a /lib/libc-* /lib/libc.* "${TEMP}/initrd-temp/lib" \

Loading…
Cancel
Save