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; Wed, 06 Nov 2024 13:34:08 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f55.google.com (mail-ed1-f55.google.com [209.85.208.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4A6CY75v018449 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 6 Nov 2024 13:34:08 +0100 Received: by mail-ed1-f55.google.com with SMTP id 4fb4d7f45d1cf-5c95b1771a1sf2041756a12.1 for ; Wed, 06 Nov 2024 04:34:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1730896442; cv=pass; d=google.com; s=arc-20240605; b=VhYPe8l2df1PDJQOIpIRkyI5v4NX7AntlfPkEP4AKIMz+ktZDFwEoX1IqV/awrSzXQ jGlyFfOctV4g0qlYxfUNxwHuU+Gmko7oEynAUQrALT7FTrZiZWMKbJ/92axegdpqrfi5 kXG9vtExtCKwj9LNVZ5DtqPyIsPUN+pWp7CxR7hpToc5JSrxdaIOrE/AQtBdyOGyMSYV Gx0edm+fO/Nsl6mBEc65HGC2FH/5oBA94bRwtAhq51rI5ge1Neq5GMn86V3eKef250c4 mZQGA9s9mkVISKbi7AcO8OIZLhbTanJ27L1IpnSZ4aeizOyRZta5lJZtNABr7cSl0MIB HT6g== 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:autocrypt:references:in-reply-to:date:to :from:subject:message-id:sender:dkim-signature; bh=WmHsBsEhuxtWTKkhRmMtnb+qzeVOdWF+ppVst6Tmis0=; fh=8maXpq693+lbjKsHzdq7Hq4WdnxDCGpEcolUqGLDngw=; b=NX7za+9H/X8jFQiN9wahVhc+bo4YoyxFbKUxcJ8upTqamhEqJwRbU57BUa807tmCnL 411AuUCxbtFotMZHEGFOMKniZJWkfG4irngZPVO5Jqt+IaicddYgj4cIw6EyTPTe+Tjd /ck+4A8r4z9aGnqQ2pgM52RBmgSa7FqsoLx2JmHngwcZEH/KR+OEf1NkleiVVxVuvGKW YoAExIFJtBuShi4MO4airAu8hKhiQQtTM/4KmOm4xXZR6V/GOBQlTgPSLXtq6mOnP+SA kaFJsUCRv6EyRzllr7ZMX1GfTPPCoMu4oEAkueGEei5Tww1sfZD/86w0dcM3v4muFNBp NDgg==; 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=1730896442; x=1731501242; 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 :autocrypt:references:in-reply-to:date:to:from:subject:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=WmHsBsEhuxtWTKkhRmMtnb+qzeVOdWF+ppVst6Tmis0=; b=kP9pICQqS4JxtH04Mv6tdLz+ke9WhgnhKYNy4AGRnppn61VxcELxOrjcc0A2YXJj33 PQTSp1dlJb1eg8g3MjF/Q9Gj0PDecUNAQ2ZaaBCIAJDeUsh/9627LRlJrllPq7JIDkHD q5AO1rj04zIBna2jTC0LEQuXKSBXJcjAuNM/+RP9G+Rke/SH4lyfrvBaOPuYxoq9AVc9 Igh7hlekEKoeLYxDhg0hx4r3j9CKN11aYTUFz/I0GC+JXT+j4fUiXfUgRQ5kmg5zAOzF MtfdqOndlgQmtu1i236TboPLLXFh92otTXH6TNxYhdaavK75ZMpjIN6f2jaNV7kp+DnZ 6oMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730896442; x=1731501242; 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:autocrypt: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=WmHsBsEhuxtWTKkhRmMtnb+qzeVOdWF+ppVst6Tmis0=; b=dT+5RIGxpf/x6bEqVVhJahYNKsQ2hJDvEnsLISA85nT/KSG4He1hhyJnF397F1AzKE 8mobpNSm5iUwLG7T3/kXa7CZCJ07ePMGsXUltgK6ehvzPN4scGZu2R+7vuLivFG78Ukm wm8Ibi8HX7Q6O0qSfCkGc9NdlPDevVqYM+ZmjFHfRhsJxxNUivb4JP4LJHUNqvaxRDB6 B04kMqxwnfnMctG5fE7T2Bb5XE1ZupyLwAbduFBom1a/9LyYdMFnh43i0lw4RVi7lKcu 4icmgmjtv3SxSNxfT4cel0/XV4U8tCsNJULyCxeGOZ/jwbDYVm+whBD8c68rpTn6DdDx P08A== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWIrBlFr/qWruUEI0YrhT6lP1wrtQLFUUfy4ixORVe6BzG3M94Ruk8OHW2vofsYM4AUAAHi@ilbers.de X-Gm-Message-State: AOJu0Yy++XgBq01vEAuZgkBgkQIdBZZKKTO7l96xQh6BLqIyHtNPyuri XL8UlihVh1jGOf9e5s5X5rV53qxWyw14A5AhphlXpsmGo6OzsS/U X-Google-Smtp-Source: AGHT+IH5y7KTXKAumbzfzhpytj2EFl7/PPJ3Us+9/ffEUMQI9RgchSTnteNowYJRgXMXfJKuz/4SNQ== X-Received: by 2002:a05:6402:1d88:b0:5ce:af08:a2cd with SMTP id 4fb4d7f45d1cf-5ceb9384a91mr17335511a12.33.1730896442014; Wed, 06 Nov 2024 04:34:02 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:5253:b0:5c9:29f3:fbb2 with SMTP id 4fb4d7f45d1cf-5cea970baa1ls1040721a12.2.-pod-prod-05-eu; Wed, 06 Nov 2024 04:33:59 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUgLw/aJvt2tBddQilDk04lWDVhzFjVk3R6MxdlmOky91xoJHV2PnfQwy5nId4/OoEeI4hPLhN+sUAv@googlegroups.com X-Received: by 2002:a05:6402:1ed1:b0:5ce:df98:c080 with SMTP id 4fb4d7f45d1cf-5cedf98c179mr8823268a12.3.1730896438683; Wed, 06 Nov 2024 04:33:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730896438; cv=none; d=google.com; s=arc-20240605; b=k+WbsykairK2S8flIdvtbokaF0psDu2QzOZ1ZUlrFuMQCTbxckN9AT5wliG9rZqVTS +akmVOB2yroHgTkQ4fM9mHaSu0Iga9yAAVBjGTMrzq+/kSgetVp2n6R0neoZb7tfyYue xhSgBGqOO8/wpazomLzwe1zAHEi2wL3wwgTMncYPUVpAGYz8ZSsqBevstyn06rs6c6So c4/ab6lf7ut6BydB+lp6FG+4q0/6Qe0Lu7L0rfviPNVQn/j68KcDIwygGpZEQrX+2UHB Ll6K52rEjL2iHwgunMPtUdQk0+ppJZ5nP9hf1ShpPx/i14sFEQtXWzkq/P/wTT4+I/9v AjRg== 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:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=7BrniA5Q94UnYIBhsRheSrsOL/NT60k8Wrc0VudgxLI=; fh=BSPqGArB6tTDqZiGP6bWbwR/OT+7QmHvthjvMivxaWQ=; b=XMxH1iKtBmrFFWTuS0uzbd3RKjtGlxp6neTY+3pDwbn/DjchpX++QkrcLDi0OwoDWS cUS15O88ldvJ3Z6cibJcA+ByT+fPlqo3B7GVu4i2IdFX3eFXPTKA4GLAbGYtS7xvHOSO lTag9Pb9crHCaBpoZSKwqpUmjERNvdbl1ifpo3ClWXCQLNbwgnmLX3FJ/kxKUnD/UmEi Le8HJ+0CsMtO9XtFAcQxQy8q7oIKoNSi+LjMWqmslh9ChXvHfiskcFSeGkMYJ0TmJv6F gcBARKlkrUmc0vopRvm7I72V4P1KqlqWXXt3ao2/aKHxvlRE8GFdeyv03cypHHTb3T2x kCGw==; 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 4fb4d7f45d1cf-5cee6b1f3desi134846a12.5.2024.11.06.04.33.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2024 04:33:58 -0800 (PST) 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 [IPv6:::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 4A6CXtbI018437 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Nov 2024 13:33:57 +0100 Message-ID: <901325bf1904b594edced2a20406fa9a0e6af444.camel@ilbers.de> Subject: Re: [PATCH] Fixing: Handling of unattended installers target overwrite mode. From: Uladzimir Bely To: alexander.heinisch@siemens.com, isar-users@googlegroups.com Date: Wed, 06 Nov 2024 15:33:55 +0300 In-Reply-To: <20241031163340.785408-1-alexander.heinisch@siemens.com> References: <20241031163340.785408-1-alexander.heinisch@siemens.com> Autocrypt: addr=ubely@ilbers.de; prefer-encrypt=mutual; keydata=mQENBGO2eUkBCACtT+T3OrPVSExBmqfgXT3lp9XcdxRzjYp26wezkgYjjBXaf36bxtaAf S471VoQtpar0RVeFfW7WDDdfX9ZclSj36zBQe+RVSJzoNoNQfjOXWuSHb5Z+cpAFtqBY4muxK4+ia IlLJd6CN3ejOsLHATtCeHHq8wi0z2T+KdLQO+wQRgo2hjj0Lp9pGTrKJry50HP/o7Vbdu14dOx2xq r8+wPc6SQbBIrcqaa4MqCQC00vQG7eXvo+k2MOw59FDdpMH0KR9mHgp3u/s4I+4YRBArukt9G9xz/ rsEFmxAIBC6N/a6Hzwg4puc91n7ABDsPg8Vp+X3MDraujN0dvR6OKVNtABEBAAG0IFVsYWR6aW1pc iBCZWx5IDx1YmVseUBpbGJlcnMuZGU+iQFOBBMBCAA4FiEEJqPNVhVGyk12Eh+PAUQYBM/2FkoFAm O2eUkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQAUQYBM/2FkprlAgAmuna8Hm9EyoEtTl DBGDg6Zm4ZLp5ffvZBE946h92jepDrteoxsJ7pSzJVC2HmDLa4iZUao7lLLbDsUj5x45/iLJcqBZK k3YnAxP2r6a+kI+1VVQY1pxdG1nlJAbdNzoojm/qmezNPSrqni61KVMQKsXBCWhIjSXDSM9CsBj21 a+9qaVqfxovJGTn9lgrZO+xzKQNMKZeOouJlscVuFj21P0ww3/YENiU/nMeTSuYypO76mDtAd08Jo nc3yuHa9MJGei5ixN3wT+IrGR2aL2hdw2M6NgH7sYbL2Zi4ugD6RXHJai1Bh2yvFSVqSQ+M6QOInT 4ud7wslm1XRB065dXtA== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.1 (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_H2, 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: p3Bv3DAGGuFG On Thu, 2024-10-31 at 17:33 +0100, alexander.heinisch via isar-users wrote: > From: Alexander Heinisch >=20 > This bug was introduced in 934fe3ef due to over-motivated search and > replace. >=20 > Signed-off-by: Alexander Heinisch > --- > =C2=A0.../deploy-image/files/usr/bin/deploy-image-wic.sh=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 6 > ++++-- > =C2=A01 file changed, 4 insertions(+), 2 deletions(-) >=20 > 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 e6ee426d..91c0518b 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 > @@ -130,9 +130,11 @@ if ! cmp /dev/zero "$installer_target_dev" -n > 1M; then > =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 --yesno "WARNING: Target device is not empty! > Continue anyway?" 5 60; then > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 exit 0 > =C2=A0=C2=A0=C2=A0=C2=A0 else > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if [ "$installer_target_overw= rite" !=3D > "installer_target_overwrite" ]; then > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if [ "$installer_target_overw= rite" !=3D "OVERWRITE" ]; then > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = echo "Target device is not empty! -> Abort" > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 echo = "If you want to override existing data set > \"installer_target_overwrite=3Dinstaller_target_overwrite\"" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 echo = "If you want to override existing data set > \"installer.target.overwrite=3DOVERWRITE\" on your kernel cmdline or > edit your \"auto.install\" file accordingly." > + > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 exit = 1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fi > =C2=A0=C2=A0=C2=A0=C2=A0 fi > =C2=A0fi > --=20 > 2.43.0 >=20 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/= 901325bf1904b594edced2a20406fa9a0e6af444.camel%40ilbers.de.