* [PATCH] deploy-image: depend on procps and increase wait time for progress pipe
@ 2026-03-03 19:22 'Badrikesh Prusty' via isar-users
2026-03-06 9:39 ` Zhihang Wei
0 siblings, 1 reply; 2+ messages in thread
From: 'Badrikesh Prusty' via isar-users @ 2026-03-03 19:22 UTC (permalink / raw)
To: isar-users; +Cc: Badrikesh Prusty
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] deploy-image: depend on procps and increase wait time for progress pipe
2026-03-03 19:22 [PATCH] deploy-image: depend on procps and increase wait time for progress pipe 'Badrikesh Prusty' via isar-users
@ 2026-03-06 9:39 ` Zhihang Wei
0 siblings, 0 replies; 2+ messages in thread
From: Zhihang Wei @ 2026-03-06 9:39 UTC (permalink / raw)
To: Badrikesh Prusty, isar-users
Applied to next, thanks.
Zhihang
On 3/3/26 20:22, 'Badrikesh Prusty' via isar-users wrote:
> 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
--
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/d4994690-fcf5-47d1-be5c-e792d1a0ad9c%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-06 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-03 19:22 [PATCH] deploy-image: depend on procps and increase wait time for progress pipe 'Badrikesh Prusty' via isar-users
2026-03-06 9:39 ` Zhihang Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox