# ChangeLog for genkernel
-# Copyright 2003-2008 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
+# Copyright 1999-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
# Distributed under the GPL v2
+ 12 Jul 2009; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+ Apply patch for Gentoo bug #276753 for new lvm.static binary
+
07 Jul 2009; Chris Gianelloni <wolf31o2@wolf31o2.org> genkernel:
Version bumping to 3.4.10.905 for release.
cd ${TEMP}
mkdir -p "${TEMP}/initramfs-lvm-temp/bin/"
mkdir -p "${TEMP}/initramfs-lvm-temp/etc/lvm/"
- if [ -e '/sbin/lvm' ] && LC_ALL="C" ldd /sbin/lvm|grep -q 'not a dynamic executable'
+ if [ -e '/sbin/lvm.static' ]
+ then
+ print_info 1 ' LVM: Adding support (using local static binaries)...'
+ cp /sbin/lvm.static "${TEMP}/initramfs-lvm-temp/bin/lvm" ||
+ gen_die 'Could not copy over lvm!'
+ elif [ -e '/sbin/lvm' ] && LC_ALL="C" ldd /sbin/lvm|grep -q 'not a dynamic executable'
then
print_info 1 ' LVM: Adding support (using local static binaries)...'
cp /sbin/lvm "${TEMP}/initramfs-lvm-temp/bin/lvm" ||