[08/17] meta-isar: deploy-image: Drop pointless --clear options from dialog

Message ID b1220d411d46eb63e1da0476b3639e3b181ef04c.1719927511.git.jan.kiszka@siemens.com
State Accepted, archived
Headers show
Series Reworks, fixes and unattended mode for image installer | expand

Commit Message

Jan Kiszka July 2, 2024, 1:38 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

We are not using --and-widget.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .../deploy-image/files/deploy-image-wic.sh           | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Patch

diff --git a/meta-isar/recipes-installer/deploy-image/files/deploy-image-wic.sh b/meta-isar/recipes-installer/deploy-image/files/deploy-image-wic.sh
index 5c362bcf..284252fb 100644
--- a/meta-isar/recipes-installer/deploy-image/files/deploy-image-wic.sh
+++ b/meta-isar/recipes-installer/deploy-image/files/deploy-image-wic.sh
@@ -12,9 +12,9 @@  if [ -z "$DISK_IMAGE" ]; then
     shopt -s nullglob
     array=(*)
     shopt -u nullglob
-    DISK_IMAGE=$(dialog --clear \
-                --no-tags --menu "Select image to be installed" 10 60 3 \
-                "${array[@]}" --output-fd 1)
+    DISK_IMAGE=$(dialog --no-tags \
+                 --menu "Select image to be installed" 10 60 3 \
+                 "${array[@]}" --output-fd 1)
     popd
 fi
 if [ ! -f "$installdata/$DISK_IMAGE" ]; then
@@ -80,9 +80,9 @@  if [ "$(echo "$target_device_list" | wc -w)" -gt 1 ]; then
         target_size=$(lsblk --nodeps --noheadings -o SIZE /dev/"$target")
         array+=("/dev/$target" "/dev/$target $target_size")
     done
-    TARGET_DEVICE=$(dialog --clear \
-                --no-tags --menu "Select device to install $DISK_IMAGE" 10 60 3 \
-                "${array[@]}" --output-fd 1)
+    TARGET_DEVICE=$(dialog --no-tags \
+                    --menu "Select device to install $DISK_IMAGE" 10 60 3 \
+                    "${array[@]}" --output-fd 1)
 
 else
     TARGET_DEVICE=/dev/$(echo "$target_device_list" | tr -d " ")