Apply patch for Gentoo bug #276753 for new lvm.static binary

cleanup-cruft
Andrew Gaffney 16 years ago
parent cb89ae6094
commit 229d8ef4f1

@ -1,7 +1,10 @@
# 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.

@ -200,7 +200,12 @@ append_lvm(){
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" ||

Loading…
Cancel
Save