Add more detail to some LVM log messages
authorSebastian Pipping <sebastian@pipping.org>
Thu, 13 Jan 2011 14:29:58 +0000 (15:29 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Thu, 13 Jan 2011 14:30:30 +0000 (15:30 +0100)
gen_initramfs.sh

index 65d849ec6dd64ea53efed3d51460cf755f1533ff..ac32516ea8c72cc44299a710e0e68ffa436920fe 100755 (executable)
@@ -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!";