gen_initramfs: add support for thin provisioned lvm volumes

master v11
Fabio Erculiani 12 years ago
parent a5e497324d
commit 138e317c1e

@ -280,9 +280,10 @@ append_lvm(){
done done
copy_binaries "${TEMP}/initramfs-lvm-temp" \ copy_binaries "${TEMP}/initramfs-lvm-temp" \
/sbin/lvm /sbin/dmsetup /sbin/lvm /sbin/dmsetup /sbin/thin_check \
/sbin/thin_restore /sbin/thin_dump
if [ -x /sbin/lvm ] if [ -f /etc/lvm/lvm.conf ]
then then
cp /etc/lvm/lvm.conf "${TEMP}/initramfs-lvm-temp/etc/lvm/" || cp /etc/lvm/lvm.conf "${TEMP}/initramfs-lvm-temp/etc/lvm/" ||
gen_die 'Could not copy over lvm.conf!' gen_die 'Could not copy over lvm.conf!'

Loading…
Cancel
Save