From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 27 Mar 2025 11:32:52 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f62.google.com (mail-oo1-f62.google.com [209.85.161.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 52RAWnLF004598 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 27 Mar 2025 11:32:50 +0100 Received: by mail-oo1-f62.google.com with SMTP id 006d021491bc7-5fc0058d68esf241198eaf.0 for ; Thu, 27 Mar 2025 03:32:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1743071564; cv=pass; d=google.com; s=arc-20240605; b=PXMMZgveCl0PMhqA4Ibdy+6+qX5w3hfvzHjXk14DIrXUIEZrG2P0F7bYqWiFefQX87 /wi2Enaho1Etda2INnCnNsLu9NGokUp4LJb/nWNgMqoizRNShRLvznGqDrS0x6AJChZS m9KtEgiuc/ZgzgSr0L7ti+fv4a3SBikvST0xH+HAJWrxTp0BVEIJWkqSVDD2qRXeoDBr RSxnMuAo3BFGcSmUdHWw2Dnn8nQPrLgQHTn+pN+youU682q2WuEY3NNVT7fV5wVihrQm 382HfyzabbOdGiGgY4j/xkkRf+mz4Z//qHgYMgJC3InZYY6DG81p9IcB/nU6ihvUb3z+ OfbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:sender:dkim-signature; bh=/xcl39MZEmAWiabvQtgybv0agraQkiktdm4Z7rEixSA=; fh=tpO7PeztJKIkuWe51qsUK0gtNtNEd6GYMEz+osplO0E=; b=eeUXmZRtxt6mBiqeaMUXsiXUlokRwFNHwJTeilt5bWcwwJ8lNI1FF3uidspE9TWKDR omXSxps0c2HQQS7OaboE0FvYZcU2CNJvY8n2Zk41yAccGh4hg4BXaEBj/8RRwzTLWPY+ s92qxlci36uEPZi37RJQ9DZkTn8/9BFwOb0dOgCWCHD13HtzY/vU+EQZInYvKtHUNk03 TcMDfPJglfxmtSbo0r3AElJA0yxtW3chgnpTjhJEsSyWWaJex7pKJTWMnRzwTd+dp4DG B8f0kJNLN5Wl7uwNQxWsM5q3qEBxt3DUTZtgqI4DjLEW3cqL4G6Sxwh6r7H8AbEy2epu 5iIQ==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1743071564; x=1743676364; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :references:in-reply-to:date:to:from:subject:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=/xcl39MZEmAWiabvQtgybv0agraQkiktdm4Z7rEixSA=; b=LYIao/O2FlE2LezBR/U7svZPb3YvVDH5F2O+oXDqFNZ2EHnU1SUJVivdHX2LCInDl8 vJWAVTZkXiYSgwkiXkWiu/68lv9CVguR7sJ2pqA9XdlV9hZDwocAFbGwA7lmugT/PvyG Yfp7jnccGirKn33hWo7D3maqsORLvAvQvLeBacYRuYq+PvSfXnC7mCPUAj3i3AqnZO1f m0MmNkE9wW/na63umyBtAW/CXRwPrqF2wsg3bRaPecRsCeih3/28E4E6ONJ6z5ovqOCv a3gblQfkDJqNLFHR8QAPNvuq2B1TMk6jZx3+87kHeEHsoO5KQ3JP1GEnj2ynISxnhy4Y 9sSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743071564; x=1743676364; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=/xcl39MZEmAWiabvQtgybv0agraQkiktdm4Z7rEixSA=; b=vrvfxdwbdMZnIXBFY+E/uo+VoKrdQ3o0mpm2zX7siGcw0rMFTzIerNLojzJoLZiP2B mjrh4SOnqMy1FRe0x+1Iu1NxuiIHWjg06T26rUiRC4NKzUgkpPXq353vpnrM2/X/v222 zU2+sTphtnELXUOsu1S/9r3X2CULxMZO2aXyKc1AiYtOLB8/iwJcijZmaGmMO1Nb7mOH MEVyYr83otK5LE7cMwBBezm54aQgcBi2rP1/UFNSNdsXJFBIbXVDu2OUKZ6Us7+9Wr+z 1sSAjLjForngx15b3fIHcvL0HIdnvKT7kIO0RRM7GE6/6w13uJ9KvwMw0DLXWOjZPrnQ Q2dg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVT3zRyVM5SFqQTrYZY43vJpkkkWvcIvXWB64F2De6t+mQcmu3cnkFqXDkiWh3e7vY4XWdt@ilbers.de X-Gm-Message-State: AOJu0YwPNfv5sChYpkg81ZA311JUjWmMBm46/PWwH9WWJlH+s9R8V8C3 11ezBgD0DAXDH3/nWJCh8ytSGbwQE+EsTcyUPoMaGoLh7gnL0Oea X-Google-Smtp-Source: AGHT+IF1mhTUSeVcsI5PAgaBDrbLCib6pSagAAjbGhStZzLVNyTL7n1BkV0EtIeloFkKA4BXk+H19Q== X-Received: by 2002:a05:6871:4145:b0:2b8:2f9c:d513 with SMTP id 586e51a60fabf-2c848006687mr1690372fac.19.1743071563697; Thu, 27 Mar 2025 03:32:43 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h=ARLLPAJfxGnfrtNZePx1chGUwl38wK7RgJF1JbsJNKOpgxpCmA== Received: by 2002:a05:6871:581e:b0:2c1:415a:8e26 with SMTP id 586e51a60fabf-2c8470c0dafls288100fac.2.-pod-prod-06-us; Thu, 27 Mar 2025 03:32:42 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWKamq26i17zCUNTrEDTefV/Ma5Hs9BrYoml3Zi8MXOilGrAtBD2fkb7VYflJbYgekBGr05gOGYmEaE@googlegroups.com X-Received: by 2002:a05:6830:6212:b0:72b:8974:e3e6 with SMTP id 46e09a7af769-72c4cae0d9dmr2043859a34.28.1743071562332; Thu, 27 Mar 2025 03:32:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743071562; cv=none; d=google.com; s=arc-20240605; b=BdhxEQXvSfKQ5g2qHn/ZbTU0nOmhUK13URHekM6THGRo8z1dKqcrtaMYYid3S/uRE/ dGrTrz0p9I33zdSnGObb2zsNAMAN0iNIELCpkxMreRJ4w4EoPjWeeO2C+MepnKMGeGye chNAOql0RLEHbVcXm6vm5GhVIm0Y0i8oU1+uoRrDRkI1vYKsRGmrZsLtGcPFaXfb6vew CpQ/NO0HT/PCOa9afTutaGh3u4N8X33r4YF9hYbAK6cviHiDPnlNXxGZo3Zxe2trXu+8 MeZExBFC8a0uS3O1AqCFU2cg52wXpsxRWkt3u1gsfVhrjqypvTJ4XM1twVkE7SvbjysD h7IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=lJ0WIvm2uEXY2TuUm0bP3ffbsuDrLgzHmN45iT07jls=; fh=xEaguVBF0tSuSVpJYsv0jH295li1pT99R8G73C5QyKg=; b=XPXxhssWCyeRRo8n6XlYT8Uv6piWMCxjLa2pd6++bxeyTkZkfnYNjSCuSgXWRKccXj BK8FKugIe2bEc1Nt4KYUDgqtiMTSP98gYPgrn2ujeRRLuBs+WaueZk8381cTrMjarrjB REuzupuozp4VgvKEOzsO5PCamwymi1zM1CE09H5vOBfZo5dhJbKT8SYUdhC5+cJ951k9 r9jkfJUh+Arz7z6w0J5scO3pzHczDUJmDirGtwCQrcBvJuuz4rOBwNIlF18sF0pgeTN3 utv4/SVhtxS6eFZ5XS95T7i4OPl1EQt3whR5ZPwJXw6MoMWfMu+42xic+De06h49Y7a/ yOpA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 46e09a7af769-72c0aba91f2si641495a34.1.2025.03.27.03.32.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Mar 2025 03:32:42 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 52RAWcpe004591 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Mar 2025 11:32:39 +0100 Message-ID: <3ee7daaf2a5de6690c8cc4b3a6789d4ea0ba3309.camel@ilbers.de> Subject: Re: [PATCH v3] bmap-tools: Fix --psplash functionality with bmap-tools 3.6 (bookworm) From: Uladzimir Bely To: Kasturi Shekar , isar-users@googlegroups.com Date: Thu, 27 Mar 2025 13:32:38 +0300 In-Reply-To: <20250312090753.566643-1-kasturi.shekar@siemens.com> References: <20250312090753.566643-1-kasturi.shekar@siemens.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.0 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: RlTRni/1siFP On Wed, 2025-03-12 at 14:37 +0530, 'Kasturi Shekar' via isar-users wrote: > - Fixed the issue where the --psplash-pipe flag was not working in > =C2=A0 bmap-tools version 3.6 (Bookworm). > - Added a patch to ensure the correct handling of the --psplash-pipe > =C2=A0 flag and avoid skipping the _psplash_pipe section when > _progress_file > =C2=A0 is null. > - With this fix, psplash can now be used with bmap-tools(v3.6) to > properly > =C2=A0 display progress updates. >=20 > Debian is not going to fix it in bookworm, Reference: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1034290 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1100092 >=20 > Signed-off-by: Kasturi Shekar > --- > =C2=A0.../bmap-tools/bmap-tools.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 21 +++++ > =C2=A0...er-passing-error-of-set_psplash_pipe.patch | 28 +++++++ > =C2=A0...e-part-was-skipped-when-_progress_fi.patch | 78 > +++++++++++++++++++ > =C2=A0.../deploy-image/deploy-image_0.1.bb=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 1 + > =C2=A04 files changed, 128 insertions(+) > =C2=A0create mode 100644 meta-isar/recipes-installer/bmap-tools/bmap- > tools.bb > =C2=A0create mode 100644 meta-isar/recipes-installer/bmap- > tools/files/0001-Fix-path-parameter-passing-error-of- > set_psplash_pipe.patch > =C2=A0create mode 100644 meta-isar/recipes-installer/bmap- > tools/files/0002-Fix-_psplash_pipe-part-was-skipped-when- > _progress_fi.patch >=20 > diff --git a/meta-isar/recipes-installer/bmap-tools/bmap-tools.bb > b/meta-isar/recipes-installer/bmap-tools/bmap-tools.bb > new file mode 100644 > index 00000000..376ab433 > --- /dev/null > +++ b/meta-isar/recipes-installer/bmap-tools/bmap-tools.bb > @@ -0,0 +1,21 @@ > +# This software is a part of ISAR. > +# Copyright (c) Siemens AG, 2025 > +# > +# SPDX-License-Identifier: MIT > + > +inherit dpkg > + > +SRC_URI =3D "apt://${BPN}" > +PN =3D "bmap-tools" > +CHANGELOG_V=3D"+isar" > + > +SRC_URI +=3D > "file://0001-Fix-path-parameter-passing-error-of-set_psplash_pipe.pat > ch;apply=3Dno=C2=A0\ > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > file://0002-Fix-_psplash_pipe-part-was-skipped-when-_progress_fi.patch;ap= ply=3Dno > " > + > +do_prepare_build:append() { > +=C2=A0=C2=A0=C2=A0 deb_add_changelog > + > +=C2=A0=C2=A0=C2=A0 cd ${S} > +=C2=A0=C2=A0=C2=A0 quilt import -f ${WORKDIR}/*.patch > +=C2=A0=C2=A0=C2=A0 quilt push -a > +} > diff --git a/meta-isar/recipes-installer/bmap-tools/files/0001-Fix- > path-parameter-passing-error-of-set_psplash_pipe.patch b/meta- > isar/recipes-installer/bmap-tools/files/0001-Fix-path-parameter- > passing-error-of-set_psplash_pipe.patch > new file mode 100644 > index 00000000..a45bcbc4 > --- /dev/null > +++ b/meta-isar/recipes-installer/bmap-tools/files/0001-Fix-path- > parameter-passing-error-of-set_psplash_pipe.patch > @@ -0,0 +1,28 @@ > +From 06fa51d0270f84d9553c044bd7391f01459a70e8 Mon Sep 17 00:00:00 > 2001 > +From: Jason > +Date: Wed, 26 Jan 2022 16:26:47 +0800 > +Subject: [PATCH] Fix path parameter passing error of > set_psplash_pipe function > + > +--- > + bmaptools/BmapCopy.py | 6 +++--- > + 1 file changed, 3 insertions(+), 3 deletions(-) > + > +diff --git a/bmaptools/BmapCopy.py b/bmaptools/BmapCopy.py > +index c6a2603..dba24a5 100644 > +--- a/bmaptools/BmapCopy.py > ++++ b/bmaptools/BmapCopy.py > +@@ -228,11 +228,11 @@ def set_psplash_pipe(self, path): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 a best effort. > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 """ > +=20 > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if os.path.exists(pipe) and > stat.S_ISFIFO(os.stat(pipe).st_mode): > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= ._psplash_pipe =3D pipe > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if os.path.exists(path) and > stat.S_ISFIFO(os.stat(path).st_mode): > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= ._psplash_pipe =3D path > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 else: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= _log.warning("'%s' is not a pipe, so psplash progress > will not be " > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= "updated" % pipe) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= "updated" % path) > +=20 > +=C2=A0=C2=A0=C2=A0=C2=A0 def set_progress_indicator(self, file_obj, form= at_string): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 """ > diff --git a/meta-isar/recipes-installer/bmap-tools/files/0002-Fix- > _psplash_pipe-part-was-skipped-when-_progress_fi.patch b/meta- > isar/recipes-installer/bmap-tools/files/0002-Fix-_psplash_pipe-part- > was-skipped-when-_progress_fi.patch > new file mode 100644 > index 00000000..bf17a7d1 > --- /dev/null > +++ b/meta-isar/recipes-installer/bmap-tools/files/0002-Fix- > _psplash_pipe-part-was-skipped-when-_progress_fi.patch > @@ -0,0 +1,78 @@ > +From 163a49259d025e220e9de4fc2a6296c2c3053500 Mon Sep 17 00:00:00 > 2001 > +From: Jason > +Date: Mon, 7 Feb 2022 17:55:16 +0800 > +Subject: [PATCH] Fix _psplash_pipe part was skipped when > _progress_file is > + null > + > +--- > + bmaptools/BmapCopy.py | 56 +++++++++++++++++++++------------------- > --- > + 1 file changed, 27 insertions(+), 29 deletions(-) > + > +diff --git a/bmaptools/BmapCopy.py b/bmaptools/BmapCopy.py > +index dba24a5..ca22aba 100644 > +--- a/bmaptools/BmapCopy.py > ++++ b/bmaptools/BmapCopy.py > +@@ -396,36 +396,34 @@ def _update_progress(self, blocks_written): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 else: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= _log.debug("wrote %d blocks" % blocks_written) > +=20 > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if not self._progress_file: > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 retu= rn > +- > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if self.mapped_cnt: > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 prog= ress =3D '\r' + self._progress_format % percent + > '\n' > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 else: > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # Do= not rotate the wheel too fast > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 now = =3D datetime.datetime.now() > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 min_= delta =3D datetime.timedelta(milliseconds=3D250) > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if n= ow - self._progress_time < min_delta: > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 return > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= ._progress_time =3D now > +- > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 prog= ress_wheel =3D ('-', '\\', '|', '/') > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 prog= ress =3D '\r' + progress_wheel[self._progress_index % > 4] + '\n' > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= ._progress_index +=3D 1 > +- > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # This is a little trick we = do in order to make sure that > the next > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # message will always start = from a new line - we switch to > the new > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # line after each progress u= pdate and move the cursor up. > As an > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # example, this is useful wh= en the copying is interrupted > by an > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # exception - the error mess= age will start form new line. > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if self._progress_started: > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # Th= e "move cursor up" escape sequence > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= ._progress_file.write('\033[1A')=C2=A0 # pylint: > disable=3DW1401 > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 else: > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= ._progress_started =3D True > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if self._progress_file: > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if s= elf.mapped_cnt: > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 progress =3D '\r' + self._progress_format % percent + > '\n' > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 else= : > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 # Do not rotate the wheel too fast > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 now =3D datetime.datetime.now() > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 min_delta =3D datetime.timedelta(milliseconds=3D250) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 if now - self._progress_time < min_delta: > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 self._progress_time =3D now > ++ > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 progress_wheel =3D ('-', '\\', '|', '/') > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 progress =3D '\r' + > progress_wheel[self._progress_index % 4] + '\n' > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 self._progress_index +=3D 1 > ++ > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # Th= is is a little trick we do in order to make sure > that the next > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # me= ssage will always start from a new line - we switch > to the new > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # li= ne after each progress update and move the cursor > up. As an > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # ex= ample, this is useful when the copying is > interrupted by an > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # ex= ception - the error message will start form new > line. > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if s= elf._progress_started: > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 # The "move cursor up" escape sequence > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 self._progress_file.write('\033[1A')=C2=A0 # pylint: > disable=3DW1401 > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 else= : > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 self._progress_started =3D True > +=20 > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self._progress_file.write(pr= ogress) > +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self._progress_file.flush() > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= ._progress_file.write(progress) > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 self= ._progress_file.flush() > +=20 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # Update psplash progre= ss when configured. This is using a > best effort > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # strategy to not affec= t the writing process when psplash > breaks, is > 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 242ca88e..54e521b5 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 > @@ -10,6 +10,7 @@ inherit dpkg-raw > =C2=A0SRC_URI =3D "file://usr/bin/deploy-image-wic.sh=C2=A0\ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 file:/= /usr/lib/deploy-image-wic/handle-config.sh=C2=A0\ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 " > +DEPENDS:bookworm +=3D "bmap-tools" > =C2=A0DEBIAN_DEPENDS =3D "bmap-tools, pv, dialog, util-linux, parted, fdi= sk, > gdisk, pigz, xz-utils, pbzip2, zstd" > =C2=A0do_install[cleandirs] =3D "${D}/usr/bin/ \ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ${D}/usr/lib/deploy-image-wic \ > --=20 > 2.39.5 Applied to next, thanks. --=20 Best regards, Uladzimir. --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 3ee7daaf2a5de6690c8cc4b3a6789d4ea0ba3309.camel%40ilbers.de.