From: Sebastian Pipping Date: Thu, 13 Jan 2011 14:29:58 +0000 (+0100) Subject: Add more detail to some LVM log messages X-Git-Tag: v3.4.11~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3c3765558b7da4f4cfe409598ba5202a27877ae1;p=genkernel.git Add more detail to some LVM log messages --- diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 65d849e..ac32516 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -244,16 +244,16 @@ append_lvm(){ mkdir -p "${TEMP}/initramfs-lvm-temp/etc/lvm/" if [ -e '/sbin/lvm.static' ] then - print_info 1 ' LVM: Adding support (using local static binaries)...' + print_info 1 ' LVM: Adding support (using local static binary /sbin/lvm.static)...' 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)...' + print_info 1 ' LVM: Adding support (using local static binary /sbin/lvm)...' cp /sbin/lvm "${TEMP}/initramfs-lvm-temp/bin/lvm" || gen_die 'Could not copy over lvm!' else - print_info 1 ' LVM: Adding support (compiling binaries)...' + print_info 1 ' LVM: Adding support (compiling binaries)...' compile_lvm /bin/tar -jxpf "${LVM_BINCACHE}" -C "${TEMP}/initramfs-lvm-temp" || gen_die "Could not extract lvm binary cache!";