public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Badrikesh Prusty' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Badrikesh Prusty <badrikesh.prusty@siemens.com>
Subject: [PATCH] deploy-image: depend on procps and increase wait time for progress pipe
Date: Tue,  3 Mar 2026 14:22:02 -0500	[thread overview]
Message-ID: <20260303192202.1837471-1-badrikesh.prusty@siemens.com> (raw)

Add missing runtime dependency on procps to DEBIAN_DEPENDS, as pgrep is
used to monitor the bmaptool flash process.

Increase sleep time from 2 to 5 seconds when waiting for the progress
pipe to handle slower devices where pipe creation may take longer.

Fixes: 9813a8fc ("installer: fix race condition with multiple consoles running unattended")
Signed-off-by: Badrikesh Prusty <badrikesh.prusty@siemens.com>
---
 meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb    | 2 +-
 .../deploy-image/files/usr/bin/deploy-image-wic.sh              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb b/meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb
index 860a8d6f..e85b50c3 100644
--- a/meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb
+++ b/meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb
@@ -14,7 +14,7 @@ SRC_URI = "file://usr/bin/deploy-image-wic.sh \
 
 DEPENDS:append:bookworm = " bmap-tools"
 DEPENDS:append = " systemd-tmpfs-tmp"
-DEBIAN_DEPENDS = "bmap-tools, pv, dialog, util-linux, parted, fdisk, gdisk, pigz, systemd-tmpfs-tmp, xz-utils, pbzip2, zstd"
+DEBIAN_DEPENDS = "bmap-tools, pv, dialog, util-linux, parted, fdisk, gdisk, pigz, procps, systemd-tmpfs-tmp, xz-utils, pbzip2, zstd"
 do_install[cleandirs] = "${D}/usr/bin/ \
                          ${D}/usr/lib/deploy-image-wic \
                         "
diff --git a/meta-isar/recipes-installer/deploy-image/files/usr/bin/deploy-image-wic.sh b/meta-isar/recipes-installer/deploy-image/files/usr/bin/deploy-image-wic.sh
index 9a69fde5..78d40e32 100755
--- a/meta-isar/recipes-installer/deploy-image/files/usr/bin/deploy-image-wic.sh
+++ b/meta-isar/recipes-installer/deploy-image/files/usr/bin/deploy-image-wic.sh
@@ -274,7 +274,7 @@ else
     echo "Installation already running in another console."
 
     # Wait for running console to create the progress pipe
-    sleep 2
+    sleep 5
 
     # Check if progress pipe exists and has content
     if [ -e "$progress_pipe" ]; then
-- 
2.47.3

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260303192202.1837471-1-badrikesh.prusty%40siemens.com.

             reply	other threads:[~2026-03-03 19:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-03 19:22 'Badrikesh Prusty' via isar-users [this message]
2026-03-06  9:39 ` Zhihang Wei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260303192202.1837471-1-badrikesh.prusty@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=badrikesh.prusty@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox