# 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
# 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=$?