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, 13 Nov 2024 15:17:46 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f192.google.com (mail-lj1-f192.google.com [209.85.208.192]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4ADEHjpC028084 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 13 Nov 2024 15:17:45 +0100 Received: by mail-lj1-f192.google.com with SMTP id 38308e7fff4ca-2fb3da343cesf47058381fa.0 for ; Wed, 13 Nov 2024 06:17:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1731507459; cv=pass; d=google.com; s=arc-20240605; b=IFEKVd1rJX4Wm7m/xa78HZxb5hSxpiHGhNaPFJ5QnZV0sSCQjBGepY8PFi1Q6EeqGt FfKWm+j7Q8Tg0VUArn07Bw7ZPTAA8qnfCd41LM8xp016+xd5tAGPYsAml6epv4mLiP8E JLHYpjrDczISWlMCz1zQi4yNJUO5CQpZWNrZWICsP3Dl3bg3TgwmH5yHe9I86yAfd1Xe oh4G5kpoyvidBqYP5+vr4syKU5grHzrMDrfhEku3EoZgjiPL+CNSditQLB+uPGWN9TUj wFACNNp2FV0bltcZFOLbJgKCRsIOpQMhKwOvaMhk0TJOgL6GKewOOdOQr0gzFc3q3n9U 2VqA== 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=FdsL4U4Jy16wK9KzGR0pF7O66hZzftadE5KdRa28cqU=; fh=o5bhGdRILHSKsxbNbke/U+ONYv4xxP8SF326AEbZlIM=; b=NZGk52P4xgzWDJR28EuWgeZFWuueANF30XfHUSBRTUNNo0CXxB/zM/u/Yk96m+PvWC yMsCq/zRroDPwJkSuri3o0J2t1GmxEjOVAU0SaKDQ0vrjWAXJ81njxNFgNgE8Zn28Goo RTNigSG6dULui9vC7s2AVOfOKCdQP4Z+fQOgbrYVnlNnmGUpDVetVVUeB6MwQqNIOmmW 9ufN4d/4t0oXebSMTBPgM8nXRldGkfGU38GKadBHeBOSJy4/BoVWJ1tndAKwXuknu726 smB8c0LBevC7zJYaVOtdiaMtQewyqTz+ZwOIaozBaMDtRP/WCD2W3EC9j0ukQzZVXgL2 ardQ==; 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=1731507459; x=1732112259; 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=FdsL4U4Jy16wK9KzGR0pF7O66hZzftadE5KdRa28cqU=; b=U2lpWzHkPWEHpGKHhhJjFRAclBntWR/tUQHPKaBMGybDo/cyVqX7CGP0DvLijcdPdN 56WKljwaT2oqmA35Tfsncuqb9dAzwvs2ifW0ij0QMH+XihdCIT3zx+HKdOa8mwkdBU4q qxhCb9AoHxXedFi3VypKeaZKldg4xshBG30SLJGKEVnBqwnF2jXIq7ktky9CJhgncpRY zE3vyk3/KBfiqokd+Cg4t/or0uqXVmZ0WR3Hcme/Hc1sWD7GFfo4uiwlAi7V6VNLSBEs xfZ0sCZNhfqy72F61i2EX8CzVjWKjmZ78V5kuhB1GoWC+TLCPA5bQ1CxZmYGksNaQs7b jLeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731507459; x=1732112259; 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=FdsL4U4Jy16wK9KzGR0pF7O66hZzftadE5KdRa28cqU=; b=WfOpD1JZ+Hqk3ZfcnvuewDNUZLGMk6v2HSddLkZ/lyggWdrhDFuuFSjRU2d3DuqUo0 5jSfuq/wiS6IcojQiTAKM9T5z2aUg84Ayv53H8i+qFK3881XfCsCfKAygEyWLQRIC3Hr AlI3qdtE8kdFJDR49p0LXw+YXMLgKoE91pFCFyMRMhMgb2cri6Rv8w3yzJBC1Xh2dvvJ Ht6bRsWhNdjzQT4vN+TsiFso9oI5qPXPpkhPKB+9OA2TtuVYXTEpjzJLe/8riZDXx1gB uqxsAiAEJ6pArCyou4I3bqBFlZHFLWTOf5fHGFfIPWiuZkdZ3U4Inxtsay15gnvM9G8N JUvw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCU0Pocb71Ljbt3MJR8afkhNUdSZWegtCI3pCoivJddKeuKPGY0X84lcepqbVpHXsafaA7aT@ilbers.de X-Gm-Message-State: AOJu0Yy8KPVTA+dlsSonsuqVHmIZg1Ji+V/Ax1YbFm3fgty4+0e7NQ9p PMVZanhm1NKhaEZ7NnSBNmBgMSDNcaISL7NwTJExFrXwDarmKHum X-Google-Smtp-Source: AGHT+IHLxYk/8LF0iuWf1B+CcbeTEvnGEkhalkptPSyV6Xthu5tlRZKP8g6KW1AN4vAOfD+xGCE2vA== X-Received: by 2002:a2e:a58c:0:b0:2fa:d31a:1b84 with SMTP id 38308e7fff4ca-2ff2016132dmr101175461fa.9.1731507458953; Wed, 13 Nov 2024 06:17:38 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:2295:b0:431:4fa0:2e0a with SMTP id 5b1f17b1804b1-432af019ae5ls17267205e9.1.-pod-prod-09-eu; Wed, 13 Nov 2024 06:17:36 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWbrUVkAiz8KHsPHTg2SY2NoYRgjuOinX0zfclPucWsKhhejQMdA0aVN7VY2dzYhab5fx0Dg6V7K1b5@googlegroups.com X-Received: by 2002:a05:600c:5251:b0:431:5a0e:fa2e with SMTP id 5b1f17b1804b1-432b7515a08mr162242665e9.21.1731507455825; Wed, 13 Nov 2024 06:17:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731507455; cv=none; d=google.com; s=arc-20240605; b=cGidk2sjsHCv0qRkc/nPTKHXG5MEruQHLCclrHu9aDVjfHu+HRpGW+VypA4XtYPqs0 /Dl0yG3nY7spEqtx0gG1ohjI0/w66q8FQiKTHh9AKpY3RErZdUk0QfyOzro0xlEqsCDe 4QldIroRmOlaRuEpv9Kgi0e+A8yIaZnseDYFfVf03zV0N/KLUIhjLkNUNE+DoJuJOo+z Ia7JOe0BQdJZwFDQIGUovr4r1zmixwRdTqhyPa1vDeQwvtmnUCTy2BhGBw5IyVaT3igF Ky2WrUEcqNL+NMGTLhpar3MocMbWdp+NZcap0Lk3YM/mktOXfrKppZL+8xLA49+mJ9pz /g6Q== 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=rqb1dmqz858mK4BKNbtghLoaGS41bSwrBxMyTIggrc4=; fh=IxbeHM4vWxalf1XNf2rnGcQL+r1v0Lr0C6ICsGNNkYw=; b=U5z9/8tJE3w+T/MSj5rjRzcJCh9ZRNWnSA2ARsY0VCfPuTE03sxUJVzW2ycqctyRt+ 32UxJjDOizEjcKsfWmW+cbW3UuUYWxUlyK+ZlmVmMEx3NAqPHkib5DWyVxIdz8wH/KkU PCPrsNVfDMPiYdE7O7R1g5JU+PyKrZweOH2/+9/Bhovu7IdZln+/KeyRAExsPT4Bt9Fd /zqS5QVBfPNukEbMjoReC41jE9yIlsdD6Uvng86QSjV6lgmAuiwS5sSn0a6leqHw+7yR EAzkEMkXnLtKj5h59QamQbqrWRey9EAIpKRc5+dzRjPdgmA2A7l9hy7/vfAYWTlLekEv 9T9Q==; 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 5b1f17b1804b1-432d48a6cfbsi1795885e9.1.2024.11.13.06.17.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Nov 2024 06:17:35 -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 4ADEHXDg028075 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Nov 2024 15:17:34 +0100 Message-ID: <139ee9e5637f7b7fc8597bcf23fbf2dac1734dec.camel@ilbers.de> Subject: Re: [PATCH] dpkg-base: Ignore isar-apt also during apt_unpack From: Uladzimir Bely To: Jan Kiszka , isar-users Date: Wed, 13 Nov 2024 17:17:33 +0300 In-Reply-To: <6f23d1ba-b2b1-4268-b06d-3847baebd8aa@siemens.com> References: <6f23d1ba-b2b1-4268-b06d-3847baebd8aa@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: k59QLbUaIZp7 On Thu, 2024-11-07 at 08:28 +0100, 'Jan Kiszka' via isar-users wrote: > From: Jan Kiszka >=20 > Just like apt_fetch, apt_unpack needs to mask out isar-apt so that, > when > retrieving the upstream dsc file, it will not stumble over some > already > pushed sources in isar-apt for the current package. >=20 > Signed-off-by: Jan Kiszka > --- > =C2=A0meta/classes/dpkg-base.bbclass | 10 +++++++++- > =C2=A01 file changed, 9 insertions(+), 1 deletion(-) >=20 > diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg- > base.bbclass > index e97e4d72..b4ea8e17 100644 > --- a/meta/classes/dpkg-base.bbclass > +++ b/meta/classes/dpkg-base.bbclass > @@ -146,13 +146,19 @@ do_apt_unpack() { > =C2=A0=C2=A0=C2=A0=C2=A0 rm -rf ${S} > =C2=A0=C2=A0=C2=A0=C2=A0 schroot_create_configs > =C2=A0 > +=C2=A0=C2=A0=C2=A0 session_id=3D$(schroot -q -b -c ${SBUILD_CHROOT}) > +=C2=A0=C2=A0=C2=A0 echo "Started session: ${session_id}" > + > =C2=A0=C2=A0=C2=A0=C2=A0 schroot_cleanup() { > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 schroot -q -f -e -c ${session= _id} > /dev/null 2>&1 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 schroot_delete_configs > =C2=A0=C2=A0=C2=A0=C2=A0 } > =C2=A0=C2=A0=C2=A0=C2=A0 trap 'exit 1' INT HUP QUIT TERM ALRM USR1 > =C2=A0=C2=A0=C2=A0=C2=A0 trap 'schroot_cleanup' EXIT > =C2=A0 > -=C2=A0=C2=A0=C2=A0 schroot -d / -c ${SBUILD_CHROOT} -- \ > +=C2=A0=C2=A0=C2=A0 schroot -r -c ${session_id} -d / -u root -- \ > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rm /etc/apt/sources.list.d/is= ar-apt.list > /etc/apt/preferences.d/isar-apt > +=C2=A0=C2=A0=C2=A0 schroot -r -c ${session_id} -d / -- \ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sh -c ' > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = set -e > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = for uri in $2; do > @@ -162,6 +168,8 @@ do_apt_unpack() { > =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 dpkg-source -x "${dscfile}" "${PPS}" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = done' \ > =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 my_script "${BASE_DISTRO}-${BASE_DISTRO_CODENAME}" > "${SRC_APT}" > + > +=C2=A0=C2=A0=C2=A0 schroot -e -c ${session_id} > =C2=A0=C2=A0=C2=A0=C2=A0 schroot_delete_configs > =C2=A0} > =C2=A0do_apt_unpack[network] =3D "${TASK_USE_SUDO}" > --=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/= 139ee9e5637f7b7fc8597bcf23fbf2dac1734dec.camel%40ilbers.de.