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; Tue, 29 Sep 2026 10:08:20 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f63.google.com (mail-ed1-f63.google.com [209.85.208.63]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 68T88JrH020000 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 29 Sep 2026 10:08:19 +0200 Received: by mail-ed1-f63.google.com with SMTP id 4fb4d7f45d1cf-6aae472b65esf4980507a12.2 for ; Tue, 29 Sep 2026 01:08:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1790669294; cv=pass; d=google.com; s=arc-20260327; b=a3Y2srZFZshnnUOyb5zQMBgCdz5bEVnBtXkjSs9mP5R6BuEA3GhrXUq0zPfiH4qyN4 hCelht911krO5otWj7M6SEI8MkHWg/blQQ3lkk/Qd8Bk2uBv/n3ceGnPk/SqpdjwbMyE qWebDbTo9pMCWQzXcLTZd4OMY5utjn0SeFGPq4LfBljhgctCWibDQplfUSx8RqGUICfG 43bHi9Tb4gt9uob5lJBuIY3SzYGGylcwWXF8LmwPnMPIQSeqaXDCf0w2xtfmuXZmcPXH 2LDUBYjUQsVTkka3APChyCZYf8gmw9ZkImCgf7tdNcCFg+0n80OF410XdItLegp7kA/6 ZbDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=KaCz3AHhxQXiR4pp/WBg+ZcJ4pLjlq6AWfuBXwNN+dI=; fh=xrJNP30i/KrOJQV57Z+Z7AAwDj7n413JoE1kjdiHsuk=; b=A5XpI5wyVJKsRoufMJXWzC5UVu3LKmXYQTwyxG2kl0pB+t5Rrn2Ksapf5PInJiFf96 Zj/mf9oF8vmNXySXniRNROJhC0o05TLtbtxdMVdLNca16710eUv3j0K5JhpKnDkZWIZx CAfnCTVV/jYnK7dFq39chcfsy2+5ZezLW8tHBEQkG2cJnXxqLZ2U3GL83fehKPXFTnAN BF5pJOfc4N237sjzwuEEph5ZtnSI1saAGiBubC5DcMzvXwxj+t7DfxiHhwMh6ci7AcGw JalL0p4QE3QIaqmAN8cYNM29flk9hchEEtYxFAKJW6C1vMYIwI5IuGDmZ6Dt6wBLfyb3 vflA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1790669294; x=1791274094; 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:content-type:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to:content-type; bh=KaCz3AHhxQXiR4pp/WBg+ZcJ4pLjlq6AWfuBXwNN+dI=; b=Ei0cbxoBggjw8EIPIL+dqDFQYEX67K6RaW4HSN1IFXAK61p11L9DO2BpflT4n/s2m6 v6qYxN9buwvur95RExdXmJoG95A4r35LLfPUsAGLtJ6mdbuXtQ5LFuUOgR1OGE2OCqiO 1qMD26q9gKaxtdgAcdBakXPx1qLYqNsAKnsdRmGcrYhvdhYQXiiA4Go0ACdRX/SChewS LJQQTEJpMdK7fR0dGpizbtlTV4fzstEuZn6VS1khQGI+1fC6QZus93iR7YDmc/yRm35t L57iOSW7Txc9WeyXjZi7t9vvyUEpO25K2AC7cNbuWBEuz1xhibsvV3+VKZKAHjH3lp8K TtWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790669294; x=1791274094; 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:content-type :in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:x-beenthere:x-gm-message-state:sender :from:to:cc:subject:date:message-id:reply-to:content-type; bh=KaCz3AHhxQXiR4pp/WBg+ZcJ4pLjlq6AWfuBXwNN+dI=; b=apCZ1sIHOqqqzzKSLo79T8rG1LJn5mJ4l4SP5v4L3Iw2kVWJBnalwthMbM7yUU+uoi SiwLVoX04cDi6iJ6hbXKX/h6dLwhRtACchubAqfh0qfGeBDpImsES91OWm++X/Bj0h5w gPY794N2s40cPPa6XXe7Abghye3/qXM5djrwQGQq4a73Vh2vxL26BmZfVncXjXILLN2t JuFX+xFEPfasq/eFQdXbTbnTEQnoiaZ+pye0knTati4jWoPT+kHZe6Nyerge+fTOAqN7 r7TbT5HwRzTrn5tquJ3gGBeccCZJp4HOoOASu7a9N9/Azk7GybQRdWVQ8kt98zyqAzKc dlHg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AKwUvBySaGPeBA7/gJ8Zq1FUZP7C8CgZgNwgZkZRpZuqHA6i/HCSeEQv0TomLUR4DHHlQTLStVmL@ilbers.de X-Gm-Message-State: AFq9FYIKPEhvHA6s8IEC6Cq/9o0PZbJtioY0ZytDVIAJwGZb86ICiCPD DxOjHbOJjcQjKscCC+b0J4AcS1ueD+JARgGjT2HoiKGANjKU2h2ouVxt X-Received: by 2002:a05:6402:3548:b0:6ac:7ac3:77e7 with SMTP id 4fb4d7f45d1cf-6ac7ac3afe9mr4282555a12.34.1790669294267; Tue, 29 Sep 2026 01:08:14 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ATskLde+Yj2fVxJ54jUw3nhGu5IpKr0/+202NtBJL8kqiZ+Zxw==" Received: by 2002:a05:6402:1c11:b0:6a9:d0dd:eca with SMTP id 4fb4d7f45d1cf-6aae0095bd6ls5290902a12.0.-pod-prod-01-eu; Tue, 29 Sep 2026 01:08:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AKwUvBxne3u9NlKdh9BXVy4VgK435ykZ8noO/aQxsrViZnwoWzCPw7oVbGvJxcdIIVoBmASaYENIAnh9wpPL@googlegroups.com X-Received: by 2002:a05:6402:360a:b0:6aa:f1d2:ddb8 with SMTP id 4fb4d7f45d1cf-6aaf1d2e1c3mr8951203a12.23.1790669292386; Tue, 29 Sep 2026 01:08:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1790669292; cv=none; d=google.com; s=arc-20260327; b=T70Nes3YsMfMIFTE+ByZPXY8TTbG1c3O7/Q4n8vSGIvfn04uPdKFyWVrHdSw8kXDLg H+EVZRB7BShE5v0aVNtuyvhS890ojUVmbuC6MZyE+N2s0p8JFDmv52q1DT7zDmp+PcO4 4pjXbBtXpxBf50m3puJwRzILDH94jT5cKOgboBnicCzIBAV3iCsCp3TwB9zwWwjM6bf2 3s0j9rhxVWLTpTBi7c3wb8TtKh+NkQsgpZ05AtOWUaRON5WsOf3dwwhb4S1QP0JHHH2N gLX/2S4ScroehPWVKy13xtwMe0qCjfKU6QFajFOOUtIXSEUtWesFPKmaOAILJHM/Y/sG HG6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id; bh=noYfbqGzPhMAleRqqOFMMbd6EttBSYYWIQNamKf4mWg=; fh=ez+yYIN2+t1/A1KtVD1essDQ6+anTTnZTbSXjuK9WaU=; b=MzDv0H2IvUoa0QBwdz3Ya5FTND6EkcazSpEsgRpmxAfBvweGXHtaWRjMnrpthNIR/5 TFnl9ZmZ9l/RK1bROIS4lEINM4DmMRoOsWLEamnXKBQFocuyMezVxsuXcvnufHE1lv9M Jl8Qyhp6cyEWTv//3tAoSa/a/3E3uSm2y0x1jCPN2kYiuo4+C7AZcPltOwJE8K7ijwRn wRaFv86D2bSqQuPbuKzkyZr9x9Vu+G6DCTBMJ+ckxpWB6PVgru4SEqZOABoclRKZW20U nCdOJUs09XEJG3EDya/IJidjkRcvHe+wQugvgYecRAhBwErnm7LsfSGSfdTwuF18pVos fbXA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 4fb4d7f45d1cf-6acb901e75esi10107a12.7.2026.09.29.01.08.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Sep 2026 01:08:12 -0700 (PDT) Received-SPF: pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [192.168.178.139] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 68T88Bi0019993 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Sep 2026 10:08:11 +0200 Message-ID: Date: Tue, 29 Sep 2026 10:08:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] rootfs: unconditionally clean isar-apt lists before deploying To: Felix Moessbauer , isar-users@googlegroups.com References: <20260923154243.2429624-1-felix.moessbauer@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20260923154243.2429624-1-felix.moessbauer@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed 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: wzh@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wzh@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=wzh@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: T1qXDRRnzy4j Applied to next, thanks. Zhihang On 9/23/26 17:42, 'Felix Moessbauer' via isar-users wrote: > The isar-apt data is non-deterministic across builds, as the content of > the isar-apt itself changes whenever new packages are added or removed. > By that, it makes the whole chroot non-reproducible which results in > cache trashing when not building the exactly same set of targets. > > As the isar-apt is anyways updated prior to using it (both in sbuild, as > well as in the rootfs tasks), we can safely drop it from the rootfs. > > Note, that we cannot do the same for the upstream apt lists, as they > must not change during the build. But as they are never updated and also > do not depend on the bitbake state, it is safe to keep them. > > Signed-off-by: Felix Moessbauer > --- > meta/classes-recipe/rootfs.bbclass | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/meta/classes-recipe/rootfs.bbclass b/meta/classes-recipe/rootfs.bbclass > index d033bdf0..1fa733d9 100644 > --- a/meta/classes-recipe/rootfs.bbclass > +++ b/meta/classes-recipe/rootfs.bbclass > @@ -559,6 +559,12 @@ rootfs_postprocess_clean_package_cache() { > \( -name '*.deb' -o -name '*.bin' \) -delete > } > > +# always clean the isar-apt as it is not reproducible and anyways unconditionally updated > +ROOTFS_POSTPROCESS_COMMAND += "rootfs_postprocess_clean_isar_apt_lists" > +rootfs_postprocess_clean_isar_apt_lists() { > + run_privileged find "${ROOTFSDIR}/var/lib/apt/lists" -type f -name '_isar-apt*' -delete > +} > + > ROOTFS_POSTPROCESS_COMMAND += "${@bb.utils.contains('ROOTFS_FEATURES', 'clean-apt-lists', 'rootfs_postprocess_clean_apt_lists', '', d)}" > rootfs_postprocess_clean_apt_lists() { > run_privileged find "${ROOTFSDIR}/var/lib/apt/lists" -type f -delete -- 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/aa5ab46a-26f6-43ed-af94-e0e9496f0732%40ilbers.de.