mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-08-03 17:10:04 +00:00
Remove --disable-lvm and --use-lvm flags
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
parent
a29158475f
commit
0eb05808fc
@ -7,7 +7,6 @@ set -ex
|
|||||||
load_vars() {
|
load_vars() {
|
||||||
|
|
||||||
model=${MODEL:-odroid_c2}
|
model=${MODEL:-odroid_c2}
|
||||||
disable_lvm=${DISABLE_LVM:-false}
|
|
||||||
directory=${DIRECTORY:-}
|
directory=${DIRECTORY:-}
|
||||||
output_image="${OUTPUT_IMAGE:-arm.img}"
|
output_image="${OUTPUT_IMAGE:-arm.img}"
|
||||||
# Img creation options. Size is in MB for all of the vars below
|
# Img creation options. Size is in MB for all of the vars below
|
||||||
@ -109,8 +108,6 @@ usage()
|
|||||||
echo " --directory: (optional) A directory which will be used for active/passive/recovery system"
|
echo " --directory: (optional) A directory which will be used for active/passive/recovery system"
|
||||||
echo " --model: (optional) The board model"
|
echo " --model: (optional) The board model"
|
||||||
echo " --efi-dir: (optional) A directory with files which will be added to the efi partition"
|
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
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -194,12 +191,6 @@ while [ "$#" -gt 0 ]; do
|
|||||||
shift 1
|
shift 1
|
||||||
repo_type=$1
|
repo_type=$1
|
||||||
;;
|
;;
|
||||||
--disable-lvm)
|
|
||||||
disable_lvm=true
|
|
||||||
;;
|
|
||||||
--use-lvm)
|
|
||||||
disable_lvm=false
|
|
||||||
;;
|
|
||||||
-h)
|
-h)
|
||||||
usage
|
usage
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user