From f533e5e10ebc2901c178456849a6d692aeab2512 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Tue, 23 May 2023 20:39:52 +0200 Subject: [PATCH] Restore --use-lvm flag for backwards compatibility Signed-off-by: Itxaka --- tools-image/build-arm-image.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools-image/build-arm-image.sh b/tools-image/build-arm-image.sh index f455328..29932e6 100755 --- a/tools-image/build-arm-image.sh +++ b/tools-image/build-arm-image.sh @@ -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 ;;