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; Sat, 08 Mar 2025 19:20:18 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-qt1-f186.google.com (mail-qt1-f186.google.com [209.85.160.186]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 528IKGrg000871 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 8 Mar 2025 19:20:17 +0100 Received: by mail-qt1-f186.google.com with SMTP id d75a77b69052e-474fff2dd31sf71126171cf.0 for ; Sat, 08 Mar 2025 10:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1741458011; x=1742062811; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:sender:from :to:cc:subject:date:message-id:reply-to; bh=FpH6tS3msvJpnGnWUK2hdoEgPtEtTaqSxJxQFvUSQJQ=; b=bAbteip1t69z9AHFSJJYcRUR2HUaFk/uW94tj/r1YKG8dht5CJo12ELsVG6xDxaaE6 8wDia/nwWYoN89YmAaUIBm8jMNspshePAEJbS/YTcJy1AYO1OMUnfzb0TIj4fUpeHNR2 AvJq67VRETNSxDDcxesFOfOrgRNUeGWMlgvT/f3DXmMv3uuH979gnGn/bD4pB58OBdoj mVYthR0i/kOMwyy2C9wZ2OmkASf2xRIjbpGPJ0/tyVQsmtivEebzhqIyj0mOOC3Q53Is jQo4FQAGt0pYSznpc5zNQUwqLW4fkOAtzvusuWFbh2nSv3Ui5o4aIAuITZFCTvLkz9jr avcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741458011; x=1742062811; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:references:in-reply-to:message-id:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=FpH6tS3msvJpnGnWUK2hdoEgPtEtTaqSxJxQFvUSQJQ=; b=mjd2AmGrpJBpORgWROP2E0PF1bcu23uzosfQ8vgCQSN5sHIdsM44uO351Uc4pU79p8 yzM9B0H8H/robNj88VArmWM7EbbJJn4IfkUxuGQhgpB7uXjr5Uvfiwjxd7qw/s2d07p4 2RH5RxSTqZeamEt7Qxw8Q58blFE7EXNDw6Nnl+5TXlKaEUmqh/mvW0FSs0jHfXoGvs0E CLeqmiike/KU9iLyqQh/Usr8sypQb9puYExiAWodJWLjCQ16k1fKnkNUU6PDvKv0nfce 0DvPDeBwAhVbgKIFhbs+e7sG8S3ywVceSpWT1ZoPWlNwocpvEUC+JibSD3YmoGf5H2TN oG6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741458011; x=1742062811; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=FpH6tS3msvJpnGnWUK2hdoEgPtEtTaqSxJxQFvUSQJQ=; b=F/iYpm6PB58ekmFlX9fvHmMufF2vNWR7+qC2VcZVds/ijWJnSh55YpfGJ2StZhFZEY 1QULrkquePYYOGl+YDk0/YQK5d3NtcWQc6FvAe7Tjx0zWOBG5v7nMvZbu1oTZOvp1+M/ vkFBF7h1fZ9hrG8L+JHTaZZU8x5Ad5AW//KZEgyQa91koti41UJwFVc6nGkoTc6MX/Tg Oo8hJXKseLH5L4oEei1Mxt+9xrozpUzoaNv+KMlZvHWIUaJysg5beBHa1aJI78XWbOOi AIwjaBOARZEWSj7BGoVehqH1jHCob+vzXueTE0OwymgO7d4qPcWrfRtCcWC5cmW9sb+A z3gQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=1; AJvYcCVXFqu4+ucdFTpXEgyeb9d7OHBHAyvGRYyn1Wn/sYzzaUqcTZv47R8cMcrp81zojhI5mm/O@ilbers.de X-Gm-Message-State: AOJu0YwbJjNWWiWKbAa27Lq+VcrULxMRS3DKTnfHXV/Flkwas5EqSfgM 4CT+LH9jZ2muLoRa7HUVZTN4sISoAs+wCooH7T7M+r/4XBqmSeKX X-Google-Smtp-Source: AGHT+IFcxBy72Xare72lOVrOCBlya21xOUiYrmua6bnk8suXGzvS0dhVRQA3mkyCrFUlRHITSYS9fg== X-Received: by 2002:a05:622a:4e8b:b0:476:6db0:338a with SMTP id d75a77b69052e-4766db03a25mr30103321cf.13.1741458010536; Sat, 08 Mar 2025 10:20:10 -0800 (PST) X-BeenThere: isar-users@googlegroups.com; h=Adn5yVFETmyAiJk/GF0dhcEU5xOa2gdQVR366/NPpL1adwo1+w== Received: by 2002:ac8:44c5:0:b0:474:e8e6:e917 with SMTP id d75a77b69052e-4751a3a6154ls41516401cf.1.-pod-prod-00-us; Sat, 08 Mar 2025 10:20:09 -0800 (PST) X-Received: by 2002:a05:620a:6605:b0:7b1:3c0e:3289 with SMTP id af79cd13be357-7c53c8bfae2mr640200785a.22.1741458009640; Sat, 08 Mar 2025 10:20:09 -0800 (PST) Date: Sat, 8 Mar 2025 10:20:08 -0800 (PST) From: Srinuvasan Arjunan To: isar-users Message-Id: <1a6be420-acd6-4f40-94bc-058fe954f55dn@googlegroups.com> In-Reply-To: <47d50bdd-2f10-4373-9009-554365643775@siemens.com> References: <20250307122558.1882902-1-srinuvasan.a@siemens.com> <47d50bdd-2f10-4373-9009-554365643775@siemens.com> Subject: Re: [PATCH v2 1/3] mmdebstrap: add "skip=cleanup/reproducible" option to mmdebstrap MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_241766_1814997654.1741458008451" X-Original-Sender: srinuvasanasv@gmail.com 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-Spam-Status: No, score=-4.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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-TUID: GAK/AYNK9DYe ------=_Part_241766_1814997654.1741458008451 Content-Type: multipart/alternative; boundary="----=_Part_241767_699573472.1741458008451" ------=_Part_241767_699573472.1741458008451 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Saturday, March 8, 2025 at 3:30:04=E2=80=AFAM UTC+5:30 Jan Kiszka wrote: On 07.03.25 13:25, srinuv...@siemens.com wrote:=20 > From: srinuvasan =20 >=20 > Without this option, mmdebstrap deletes the var/log/dpkg.log and its=20 siblings by default,=20 > but this is needed to download deb-src packages for base-apt creation.=20 > Basically, we are referring to the package's status under=20 /var/log/dpkg.log file=20 > and performing the debsrc_download operation.=20 >=20 > Without these changes, bootstrap related deb-src files are not downloaded= =20 > under the /downloads/deb-src folder, due to this the repo sanity check=20 > functions failed during base-apt caching stage.=20 >=20 > Signed-off-by: srinuvasan =20 > ---=20 > meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc | 6 ++++++=20 > 1 file changed, 6 insertions(+)=20 >=20 > diff --git a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc=20 b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc=20 > index 931f6f13..7380a658 100644=20 > --- a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc=20 > +++ b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc=20 > @@ -168,6 +168,11 @@ do_bootstrap() {=20 > arch_param=3D"$arch_param,${COMPAT_DISTRO_ARCH}"=20 > fi=20 >=20 > + cleanup=3D=20 > + if [ "${@bb.utils.contains('BASE_REPO_FEATURES', 'cache-deb-src',=20 'yes', 'no', d)}" =3D "yes" ]; then=20 > + cleanup=3D"--skip=3Dcleanup/reproducible"=20 > + fi=20 > +=20 > # Cleanup mounts if fails=20 > trap 'exit 1' INT HUP QUIT TERM ALRM USR1=20 > trap '[ -r "${WORKDIR}/mmtmpdir" ] && tmpdir=3D$(cat "${WORKDIR}/mmtmpdir= ")=20 \=20 > @@ -183,6 +188,7 @@ do_bootstrap() {=20 >=20 > sudo TMPDIR=3D"${BOOTSTRAP_TMPDIR}" mmdebstrap $bootstrap_args \=20 > $arch_param \=20 > + $cleanup \=20 > --mode=3Dunshare \=20 > ${MMHOOKS} \=20 > --setup-hook=3D'mkdir -p "$1/var/cache/apt/archives/"' \=20 What has changed in this version? I'm not seeing my concerns addressed,=20 my questions answered. Hi jan, I will come up with the more details for your query, this version=20 address the failures reported by Uladzimir Bely.=20 Jan=20 --=20 Siemens AG, Foundational Technologies=20 Linux Expert Center=20 --=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/= 1a6be420-acd6-4f40-94bc-058fe954f55dn%40googlegroups.com. ------=_Part_241767_699573472.1741458008451 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Saturday, March 8, 2025 at 3:30:04=E2= =80=AFAM UTC+5:30 Jan Kiszka wrote:
On 07.03.25 13:25, srinuv...@siemens.= com wrote:
> From: srinuvasan <srinuv...@sie= mens.com>
>=20
> Without this option, mmdebstrap deletes the var/log/dpkg.log and= its siblings by default,
> but this is needed to download deb-src packages for base-apt cre= ation.
> Basically, we are referring to the package's status under /var/l= og/dpkg.log file
> and performing the debsrc_download operation.
>=20
> Without these changes, bootstrap related deb-src files are not d= ownloaded
> under the /downloads/deb-src folder, due to this the repo sanity= check
> functions failed during base-apt caching stage.
>=20
> Signed-off-by: srinuvasan <srin= uv...@siemens.com>
> ---
> meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc | 6 +++++= +
> 1 file changed, 6 insertions(+)
>=20
> diff --git a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.i= nc b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
> index 931f6f13..7380a658 100644
> --- a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
> +++ b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
> @@ -168,6 +168,11 @@ do_bootstrap() {
> arch_param=3D"$arch_param,${COMPAT_DISTRO_ARCH}"
> fi
> =20
> + cleanup=3D
> + if [ "${@bb.utils.contains('BASE_REPO_FEATURES', 'cache-deb= -src', 'yes', 'no', d)}" =3D "yes" ]; then
> + cleanup=3D"--skip=3Dcleanup/reproducible"
> + fi
> +
> # Cleanup mounts if fails
> trap 'exit 1' INT HUP QUIT TERM ALRM USR1
> trap '[ -r "${WORKDIR}/mmtmpdir" ] && tmpdir=3D$(ca= t "${WORKDIR}/mmtmpdir") \
> @@ -183,6 +188,7 @@ do_bootstrap() {
> =20
> sudo TMPDIR=3D"${BOOTSTRAP_TMPDIR}" mmdebstrap $bootstrap_a= rgs \
> $arch_param \
> + $cleanup \
> --mode=3Dunshare \
> ${MMHOOKS} \
> --setup-hook=3D'mkdir -p "$1/var/cache/apt/a= rchives/"' \

What has changed in this version? I'm not seeing my concerns addresse= d,
my questions answered.

=C2=A0 Hi ja= n,

=C2=A0 =C2=A0I will come up with the more det= ails for your query, this version address the failures reported by Uladzimi= r Bely.=C2=A0


Jan

--=20
Siemens AG, Foundational Technologies
Linux Expert Center

--
You received this message because you are subscribed to the Google Groups &= quot;isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-use= rs+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-use= rs/1a6be420-acd6-4f40-94bc-058fe954f55dn%40googlegroups.com.
------=_Part_241767_699573472.1741458008451-- ------=_Part_241766_1814997654.1741458008451--