mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-08-02 08:06:24 +00:00
Restore --use-lvm flag for backwards compatibility
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
parent
83f58e301c
commit
f533e5e10e
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user