Handle other possible paths for LVM.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
cleanup-cruft
Robin H. Johnson 13 years ago
parent bf7a344cea
commit 9f36ecc125

@ -5,6 +5,9 @@
# Distributed under the GPL v2
# $Id$
14 Apr 2012; Robin H. Johnson <robbat2@gentoo.org> gen_initramfs.sh:
Handle other binary paths for LVM.
09 Apr 2012; Sebastian Pipping <sping@gentoo.org> defaults/initrd.scripts,
defaults/keymaps/keymapList, defaults/keymaps/sf.map:
Add keymap "sf" from Pentoo

@ -265,9 +265,9 @@ append_lvm(){
# See bug 382555
mv ${TEMP}/initramfs-lvm-temp/sbin/dmsetup.static ${TEMP}/initramfs-lvm-temp/bin/dmsetup ||
gen_die 'LVM error: Could not move dmsetup.static to dmsetup!'
rm -rf ${TEMP}/initramfs-lvm-temp/{lib,share,man,include,sbin/{lvm,dmsetup}}
rm -rf ${TEMP}/initramfs-lvm-temp/{lib,share,man,include,{s,}bin/{lvm,dmsetup}}
fi
if [ -x /sbin/lvm ]
if [ -x /sbin/lvm -o -x /bin/lvm ]
then
# lvm dumpconfig 2>&1 > /dev/null || gen_die 'Could not copy over lvm.conf!'
# ret=$?

Loading…
Cancel
Save