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; Fri, 10 Oct 2025 18:00:10 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f55.google.com (mail-wm1-f55.google.com [209.85.128.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 59AG0AJ8019540 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 10 Oct 2025 18:00:10 +0200 Received: by mail-wm1-f55.google.com with SMTP id 5b1f17b1804b1-46e3f59171fsf1122875e9.1 for ; Fri, 10 Oct 2025 09:00:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1760112005; cv=pass; d=google.com; s=arc-20240605; b=bpJwtOMLW7v+FrlCP1VUIIm+j3uHMcIK0RkL2/e6lf+Uj8FM1HPmvwk7fkdz6pOC5h kCcKNa8gWK59BE1lCV968S42A2ims5mfz6458Dsk0ICNuMrxcL8UlYKBLOOOeQ7fX124 3p/h5ychauckt8ZFFMX245SyZ9WAjbmAtZY+DP4Y1u9oYH+g/BeM0An5aHPdlSDPvJWP 4elbdZAZv2+FeAFT6NRiJR1Fc36aBxsFkJ55MDKhlQ9bSkuvT0QruOoWvu4cSx/18fVx Pqidhww0PNNO9wOBCJ+kkkDCPP4SiP/5KBa2vacnCBpgaVtVS7wudan4ZMyQ24Yc9PV+ o9gA== 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:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:dkim-signature; bh=wTO6YMkbo/QmKhUHKoptW0FERP0PryDa2et7y53mKhE=; fh=1DLcxLUWpxAUA8PflunR+gmbgj5D+0uqpq2K1gCMvUQ=; b=IV/aYrL/Q5mjOMWo+kAV2Lk3T0fVkekwJmY7lu3+4Ccig/sx/5/qHuP8zZkNQZFvgl DR40NYQ7aecMNcDT1Ropf+YpoQobLTDCHUAFJZAcgAPd/pO5r8WDhksL5y6Y9ifWzT+D BV0eZL4ciQuSJN3DEdgPPB9JcdqVdAJgumps+7GhINOXkjCa3QpjjDc8wra8bb6rSlqe RWHIuMD0tZO71yyQJvH3JDH9HBCJFEGm6d3/00hIrBUW4FzH4rcZweQylnVvNAQMuC42 6uP70jLKj3YroBKDXOnjcDOHEKTLERcWRbqPool40Adv0XwshElSPZdesMcyMMuQMZKY Z9nw==; 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=20230601; t=1760112005; x=1760716805; 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:in-reply-to:from:content-language:references:cc :to:subject:user-agent:mime-version:date:message-id:sender:from:to :cc:subject:date:message-id:reply-to; bh=wTO6YMkbo/QmKhUHKoptW0FERP0PryDa2et7y53mKhE=; b=q8vYWT3KkWPkfHXGU5qpi/M1mqW7NcUDvAqP1yy7QH9EO5wQF05Al8qu/d5UP9uJMQ Xn36PHVNAiLphHSPfl+I/tCT+JBpOxV6rLdPb/CeUcjr6GhxnwonnznmW1uj5vUmCy5H KvzNWR5Xz1zkBFM7HXgAPTIV8/I6WXdcH4i09RMTB5Vfi4p257I+4m1QLqlHRSo2pYox R2rf4QKUu7Q1AtVeFOPK06880Y8USez/FzlPoKrqaKseFlSmVSDcz45y/9OcfuWZ/E1M PyrfxVB/cyG7crhLAzn9p09S0lCe19ytZA2+Q9YBCdaBty7vA8/z7viALXiQPNECfr1F rZdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760112005; x=1760716805; 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:in-reply-to :from:content-language:references:cc: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; bh=wTO6YMkbo/QmKhUHKoptW0FERP0PryDa2et7y53mKhE=; b=BZ1LGrsKBGPEEDuZdiPvkfFl1pNOCqUZYaG/tZttvF6tJZGKp5JMjT5MeKydFTuz28 1WMy83hvWyAu3sLZ1qY2I5/Ud9zBfLUyILXWOX0pvuipnJMVJgAUhfdy7fJE2vT18hpl aUi8bapbuF4QjUz/XAh3PwKCFoY6xGgA+PVzSS9KsDD7Xbqnv1zR3BcGNC6VdGcIPlwy UUAtYUW0s4Cgdo0GF6R9Z41O63ImXhK1XPzT0BmkleqaSgT8MLg+s1r80G/Z2Y1vl+uy cAL7gsQPLBmESFwC0N22AWCn+6249rm0hFdIwrEBL5GWrw9Y4Vb9Z1fqVMAtGyEpq722 kyQg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUvdWaEiFwyK29m+fMf0FvgPrH2Kg4GFgXXt3a7BksMu/XkXCoYJIHdeWv6HMUba9c74W6m@ilbers.de X-Gm-Message-State: AOJu0YygDsExGO8aSsvGuUTlPlciL10zH3N/dSYUsaPrQaGOp3L1Dnhi o0xp0i9utOa8celLZiPYcDThRoOmuWEQbt1mEbJmfd7KLMBhH9SUbovD X-Google-Smtp-Source: AGHT+IEAds0GQOVnqJRmEeF32Vcbrx3DRn55SeRM8/CA4BqwBAZ6rExGDONmGA/zNqXvCCjBaKK+dQ== X-Received: by 2002:a05:600c:4589:b0:45f:2d70:2af6 with SMTP id 5b1f17b1804b1-46fa9a8b2damr46133915e9.1.1760112004334; Fri, 10 Oct 2025 09:00:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ARHlJd6g/xQKgYvyz5OXRIUDiDDOvtvSjLFSQ7H+kU78lfwuow==" Received: by 2002:a05:600d:839b:b0:46b:f67b:3bc with SMTP id 5b1f17b1804b1-46faf5cb22bls9563485e9.0.-pod-prod-06-eu; Fri, 10 Oct 2025 09:00:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUBHHwMpmeZR1ybvu9WpAs7x8/EGsHrjUHL4t+Pu+E+NLDC9xLcvznVOOvaWrES3UDIhAGe3v6wZ/x9@googlegroups.com X-Received: by 2002:a05:600d:416a:b0:46e:3f75:da49 with SMTP id 5b1f17b1804b1-46fa9b11794mr78589285e9.37.1760112001697; Fri, 10 Oct 2025 09:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1760112001; cv=none; d=google.com; s=arc-20240605; b=DfV8xbaG3ZA1ky6q+qokeIwfbn6cUFEGNmhUun0Et/vB67WjYRbsFQnQ/dKJB60O37 7biEKKtbJmNH2ULLqQKpP79FPLN/W91mQlrOO/D18r0nb8zSOJ/4UY47JoOMkts5B0vE XPFRHPsPwkFtB+vwvHfc2GkrP7i1Vg4VY7/+cSvwP1J0mrcLiQDrwTL7Mw8XOR6B909s 3FqonPAzfPeueeQWNXymVzNu+y7dNSwLQquN2UFbbW0RbMJpr6go6wYLfaxcyWw2TKuq 5WEa/3mpkHbL4EAhquPAOeHwt7tw6eTuXuiG2tRB0t5DvxiTqrm68fnznGaTH7sbGVtE AZNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=GFH9s7AoSlU1Rnl8NMNzQ3aepINDXM/JbfQKPuXhOMw=; fh=93+U1MFa6s65uBWg0Dl66YwDJqZEFJZhZ2knWWuywSo=; b=faF8tadiAhmNmQfsfMFMKjW5JBSdGHEF2VgOCX1ovyL0efxPRjPOpg+zItZA9p14gR 3oJiBJ+ANV0ztF3hwOOD0aXj/Lz7m9FCb73vj6q/k6Jsg0aGqkGkbRpi1/ncEAcusFzA gbeUg0DLq/NsaNgwcHCR1fvP99j+QmHom9FgPbA0Apv5TuLf2ggRm4/asEvRjfyQg3Xv zyHCFEm0PDI/6fYSIvuGSD3erfXchSoFAEfFcKhZM7KoT2smCqw7opBmSDdDLoeJlsFo alRdkMqXSEGpUORbHy3M9Mv7y8u6n8uPbIssp+Y0qo983XT46TYW3scHjMYEbGvGujcG g6xQ==; 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 5b1f17b1804b1-46fb49ffb0dsi67545e9.1.2025.10.10.09.00.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Oct 2025 09:00:01 -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.117] ([88.130.203.42]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 59AG00RC019514 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Oct 2025 18:00:00 +0200 Message-ID: <1dc9ad05-c633-4339-a015-a802429500ca@ilbers.de> Date: Fri, 10 Oct 2025 18:00:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] fix: lazy expand ISAR_APT_SNAPSHOT_DATE[flag] To: Felix Moessbauer , isar-users@googlegroups.com Cc: alexander.heinisch@siemens.com References: <20251006141227.1017941-1-felix.moessbauer@siemens.com> Content-Language: en-US From: Zhihang Wei In-Reply-To: <20251006141227.1017941-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: hJyUfSDjZ3OE Both patches were applied to next, thanks. On 10/6/25 16:12, 'Felix Moessbauer' via isar-users wrote: > The ISAR_APT_SNAPSHOT_DATE variable controls the timestamp of the > sources on the snapshot mirror. This variable further is a shortcut for > ISAR_APT_SNAPSHOT_TIMESTAMP that avoids letting the user compute a unix > timestamp of the desired date. However, while > ISAR_APT_SNAPSHOT_TIMESTAMP is always available via bitbake conf, the > _DATE variant is only available after computing it in do_bootstrap. > > In 394e954, support was added to just set the timestamp / date for the > security distribution by extending the _TIMESTAMP and _DATE variables > with a flag. However, the logic that evaluates the variable in > DISTRO_APT_SNAPSHOT_PREMIRROR is defined in the distro conf, which is > parsed earlier than the logic in do_bootstrap. By that, depending on the > context the variable might not be set leading to incorrect substitutions > of the apt-sources. This has not been observed in actual images, but in > the devshell and when printing the variable with bitbake. > > Anyways, the value of the variable should not depend on the parsing > order. To fix this, we now do not expand the variable until using it. > > Fixes: 394e9540 ("snapshots: add option to use separate timestamp ...") > Signed-off-by: Felix Moessbauer > --- > meta/conf/distro/debian-common.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/conf/distro/debian-common.conf b/meta/conf/distro/debian-common.conf > index 8da17d6f..92daddc3 100644 > --- a/meta/conf/distro/debian-common.conf > +++ b/meta/conf/distro/debian-common.conf > @@ -45,6 +45,6 @@ DISTRO_BOOTSTRAP_BASE_PACKAGES:append:bullseye = " usrmerge" > > # snapshot mirror for reproducible builds > DISTRO_APT_SNAPSHOT_PREMIRROR ??= " \ > - deb.debian.org/(debian-security)/? snapshot.debian.org/archive/\1/${@d.getVarFlag('ISAR_APT_SNAPSHOT_DATE', 'security')}\n \ > + deb.debian.org/(debian-security)/? snapshot.debian.org/archive/\1/${@d.getVarFlag('ISAR_APT_SNAPSHOT_DATE', 'security', expand=False)}\n \ > deb.debian.org/(.*)/? snapshot.debian.org/archive/\1/${ISAR_APT_SNAPSHOT_DATE}\n \ > " -- 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/1dc9ad05-c633-4339-a015-a802429500ca%40ilbers.de.