Restore --use-lvm flag for backwards compatibility

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
Itxaka 2023-05-23 20:39:52 +02:00
parent 83f58e301c
commit f533e5e10e

View File

@ -103,6 +103,7 @@ usage()
echo " --model: (optional) The board model"
echo " --efi-dir: (optional) A directory with files which will be added to the efi partition"
echo " --disable-lvm: (optional- no arguments) LVM for the recovery and oem partitions will be disabled"
echo " --use-lvm: (deprecated and ignored. Kept for backwards compatibility)"
exit 1
}
@ -192,6 +193,9 @@ while [ "$#" -gt 0 ]; do
--disable-lvm)
disable_lvm=true
;;
--use-lvm)
disable_lvm=false
;;
-h)
usage
;;