# 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,
# 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!'
|| 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" \