185,190d184 < # LVM constants < HAVE_LVM= < LVM_MODNAME="dm-mod" < LVM=/sbin/lvm.static < [ -x "$LVM" ] || LVM= < 962,968d955 < FindLVMModules() < { < if [ -n "$HAVE_LVM" ]; then < FindModule $LVM_MODNAME < fi < } < 1101,1116d1087 < 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,1223d1183 < < 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 1365d1324 < --with-lvm enable LVM support. 1388c1347 < 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,1464d1419 < --with-lvm) < HAVE_LVM=1 < shift < ;; 1579,1580d1533 < FindLVMModules <