--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -185,6 +185,0 @@ -# LVM constants -HAVE_LVM= -LVM_MODNAME="dm-mod" -LVM=/sbin/lvm.static -[ -x "$LVM" ] || LVM= - @@ -962,7 +956,0 @@ -FindLVMModules() -{ - if [ -n "$HAVE_LVM" ]; then - FindModule $LVM_MODNAME - fi -} - @@ -1101,16 +1088,0 @@ -ConfigInitramfsForLVM() -{ -# this is creating of script for init of LVM - cat >>"$MNTDIR"/scripts/local-top <<'EOF' -# Preparing LVM -*- shell-script -*- - -log_begin_msg "Starting up LVM" - -vgscan -vgchange -ay - -log_end_msg -EOF - -} - @@ -1213,11 +1184,0 @@ - - if [ -n "$HAVE_LVM" ]; then - if [ -z $LVM ]; then - Fatal "Couldn't find executable lvm.static " - fi - Cp -aL "$LVM" "$MNTDIR"/sbin/ - cd "$MNTDIR"/sbin/ - Ln -s lvm.static vgscan - Ln -s lvm.static vgchange - ConfigInitramfsForLVM - fi @@ -1365,1 +1325,0 @@ ---with-lvm enable LVM support. @@ -1388,1 +1347,1 @@ -TEMP=`getopt -n "$PROG" -o a:fhvd -l help,version,verbose,debug,force,ifneeded,omit-scsi-modules,omit-ide-modules,omit-raid-modules,with-raid,with-lvm,pause,image-version,nocompress,nobootsplash,strict,fstab:,before:,preload:,with:,after:,extra:,type:,add: -- "$@"` || Usage 1 --- +TEMP=`getopt -n "$PROG" -o a:fhvd -l help,version,verbose,debug,force,ifneeded,omit-scsi-modules,omit-ide-modules,omit-raid-modules,with-raid,pause,image-version,nocompress,nobootsplash,strict,fstab:,before:,preload:,with:,after:,extra:,type:,add: -- "$@"` || Usage 1 @@ -1461,4 +1420,0 @@ - --with-lvm) - HAVE_LVM=1 - shift - ;; @@ -1579,2 +1534,0 @@ -FindLVMModules -