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, 07 Oct 2025 12:39:52 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qk1-f191.google.com (mail-qk1-f191.google.com [209.85.222.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 597Ado7A001150 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 7 Oct 2025 12:39:51 +0200 Received: by mail-qk1-f191.google.com with SMTP id af79cd13be357-87561645c1csf1419086385a.1 for ; Tue, 07 Oct 2025 03:39:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1759833585; cv=pass; d=google.com; s=arc-20240605; b=L9TSCZxBL1axKFRg93EKdRHI4F5L4lUoVCSiVR44Y1ayivfFHgxpAJh/2mtZq3dVzt 7iTzmKg82ky8pb3dJlb2UwQxGvLGtzenLtRNhdyrwaSb7si2Oq5yhqO8go033eVbeaM7 MIB4xqvcg+142rTzKP/c0ITcwkydsBnbEKOMJooxRqhfYPREOTXYZ343UlizE9NcR69I 34AgNL66vz0oNaUs3VgiKBQhzczyyHj6PL7T9fUBrrmSLlqbIm4MIHftxK7fdmlLYqix +8oG0h2r2JfgF5P2Vf8HF8KhnMKHR13Yn4atLbHe2WhjlluVnrwyucUJEgWauQsbo5RW jA7g== 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:reply-to:feedback-id:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=zWASmQdvgXqWRaxqOXreeJIN3SByqIxSEZ1AOxZ0I8c=; fh=/1tIMaDRVTMWZhRIdInSxxQoLtCitjImkafKByFV2D8=; b=K/N35mksTC+7PyTjRyckmIoDoQcYBuTXtpm1N15ba7JGrm7mmphF/xQSxPpbu8ZYwj 2l2N39oeG/oI0YOgx4ydWQKFop6Tm8K6d1q+HcTZutau9OpE59ny6czhLhxcBUBD74s/ jV39BQlOVyi20ukIQHE0H8JbySLMCwlxkvh+eY+1ae6EUl2dZ+fCna5FEPbkncBzQj0H GDoNzOa+xDDxZW5lRvyY1zp1t1D/wuk6GX26KB80KEBtoJymKT7VkENfTSPHIpog1JY0 ukV9H/cQERizd4+ak8hQ+Duxi9MGS6+Pqp8NxqmRoV2nq7Vix/vHYHOWsePnCVZruHn8 DeRg==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=O8O0LvGy; spf=pass (google.com: domain of fm-68982-20251007103941c80970914e00020756-p7j5ps@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-68982-20251007103941c80970914e00020756-P7J5pS@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1759833585; x=1760438385; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:date:cc:to:from:subject :message-id:from:to:cc:subject:date:message-id:reply-to; bh=zWASmQdvgXqWRaxqOXreeJIN3SByqIxSEZ1AOxZ0I8c=; b=IxTMusIYexFhWcj1pO/gkaax+UkxOAAwC9ML11ysj0Jk7a5E66zvXEznTHJryKe9LD 38Ue6yo7hKJrlXi1VR0XJpdCIga4MT3KuJOcszsmF9qKrZzT0gnaw1SVOWrExjS48aaT 23tKW9806vKfmoJ57kL5P3WAPw6Va8FkPRD1Oit6kS7LewPfndpna4Xaue8LBUU5Qvuu BPD4T3E5sMEMABpDlpF1ZD9uU2uR4LWUw0i3s6mH9g5v6N5OjBelOiYE7EriHsibQsvf RQ4mKAFpEVQs4KvLKmycE1DS1Cjcu4BF/UvugT1IwALaX1yE4um+GtXis0nX4K3mYoBn emkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759833585; x=1760438385; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:date:cc:to:from:subject :message-id:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zWASmQdvgXqWRaxqOXreeJIN3SByqIxSEZ1AOxZ0I8c=; b=VeYROYMroVChCYRbQnX2Z5a53rLeKTmk1EylyDWTQs63TXVNBC4HdLZQx1UaGM5n0O kACPL4lveqlNt5DC9DUOEJIzZRjJNNz+Kxb7Odg/RL6SNaH/IRBpLs0W7adOveQA6lOG n2MrqSTupHkFaKSg/tGTKMf11kszcKm/m+ghCJXLKGOo2UCM0ijljQOVVWvM3GdisiTw HYDugiLF5kWvadESNPhLtMH9eLqhTdw1nghtcyO1Q9CfCg8WitzmcT51r3BK61K300fp MTNq/dxyvHYmEKIhe6pkLCAFo7I55mt3MZTrgOrfD2DfirPQCCba1zcqG/8IHNDrDK3L ZRcw== X-Forwarded-Encrypted: i=2; AJvYcCXujdrJIG1E9F74XD++oH25ltq1GrnQJp1cjZhsJlRiZoWWBN8dRAuAxjK8HG+3q/eewY62@ilbers.de X-Gm-Message-State: AOJu0YwUKyTws3hARorRWJWE2n/FDTH7j2i76UJRA5Zf7hgL0Yr0G03V Ed3a3CcDjEP/dRxpgRiLb26WJQhB9mGS/FKkRM0PYj5YZv60/GiX4uAm X-Google-Smtp-Source: AGHT+IFqumqtDodL15OmRMPKv05qhHR9yw7NlS2aKRy2I/Zum+oVZvv6nb3vDG0BiOuEJEbdiPvhXw== X-Received: by 2002:a05:6214:48f:b0:746:e5b3:e123 with SMTP id 6a1803df08f44-879dc8ab014mr174586406d6.59.1759833585028; Tue, 07 Oct 2025 03:39:45 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ARHlJd6C1fHJZ8YFJGYp2WcOfHJeIGRftm40V9N9KSmAuBgaTg==" Received: by 2002:a05:6214:8083:b0:70d:9fb7:756b with SMTP id 6a1803df08f44-878a83088ecls92076296d6.2.-pod-prod-03-us; Tue, 07 Oct 2025 03:39:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVaCfpCycGqDVMyvgDigKVaQOmJo5qBxBZXlXyeb87hdotXJupNISqTwVKUcV1g2YsOf2DU+joudRav@googlegroups.com X-Received: by 2002:ad4:5f8e:0:b0:720:8825:f1b7 with SMTP id 6a1803df08f44-879dc7a3a41mr188025116d6.9.1759833583950; Tue, 07 Oct 2025 03:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1759833583; cv=none; d=google.com; s=arc-20240605; b=RL99Au5mPYLblhdy6FPXwCxx9T7J06o78YuAyxWLhKk0FD0YDfWHEuK7K3zMaxbgRg fVcydnzJI6L9jR3Le2vyEbUIVRoSoIFLMU0QWNHiS6OSPU/CzbOibYJKR+hsGAI1Abn6 5TqOKaIoj1DaYq3JwyPrZa41QRImYoWGJXsbfwqZR4Kn/7ffLIRTiE3L5JkVftwIRTVF nlZXlQdKxHCgInnSgqbTZB/srMQm9AEo6+VhOkl9K55QD9KGnd0+QOWuU3OA+CHx8mRh ZSvmGcW1GYsz6qSMpvxaRPvoeTJryBAax1KwCAGp24V5S3YMriODHVsCG2918I7Q4TJF MnBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:mime-version:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=qdq25I2KwdSICCKteNw6SgDSqTQ2ba3cd7+i5QWBqlY=; fh=93+U1MFa6s65uBWg0Dl66YwDJqZEFJZhZ2knWWuywSo=; b=Rd9+sU4xNmXDBis07wsFVqVxTass6XDOfe5FGeo2FlCdb3QFCG16qyKnTj+p5IE9Uj BuyfmygIXpo/joVhnYd/XT3XXo7bB1oSh4utF/ttQGQcQRNLukcQ/i5SaYrohAR/i1aZ gMbtBvtcezIBE9dwq4i103lNrkMOn7A41XdUNejknI7ZhOOQahurEpyJzBp/p2a91qG9 aL5m+ZN8PGJM2TvAdXAb6aMjS08Z82XAroia1xAA5S1LTFRUdZ3sqe2CvvHdjqg/0JXy 7pcrTyw35IfcnQktVq/LG6CyA8YdeuyM1SAlIWB2JS9NPlp5lRb79lGfsqgXVp238VXi Mxxw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=O8O0LvGy; spf=pass (google.com: domain of fm-68982-20251007103941c80970914e00020756-p7j5ps@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-68982-20251007103941c80970914e00020756-P7J5pS@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net. [185.136.64.225]) by gmr-mx.google.com with ESMTPS id 6a1803df08f44-878bd588c54si3678586d6.8.2025.10.07.03.39.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Oct 2025 03:39:43 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-68982-20251007103941c80970914e00020756-p7j5ps@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) client-ip=185.136.64.225; Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 20251007103941c80970914e00020756 for ; Tue, 07 Oct 2025 12:39:42 +0200 Message-ID: Subject: Re: [PATCH 1/2] fix: lazy expand ISAR_APT_SNAPSHOT_DATE[flag] From: "'Florian Bezdeka' via isar-users" To: Felix Moessbauer , isar-users@googlegroups.com Cc: alexander.heinisch@siemens.com Date: Tue, 07 Oct 2025 12:39:41 +0200 In-Reply-To: <20251006141227.1017941-1-felix.moessbauer@siemens.com> References: <20251006141227.1017941-1-felix.moessbauer@siemens.com> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-68982:519-21489:flowmailer X-Original-Sender: florian.bezdeka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=O8O0LvGy; spf=pass (google.com: domain of fm-68982-20251007103941c80970914e00020756-p7j5ps@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-68982-20251007103941c80970914e00020756-P7J5pS@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Florian Bezdeka Reply-To: Florian Bezdeka 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.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-TUID: tGHFI9hfZBsJ On Mon, 2025-10-06 at 16:12 +0200, '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 ^^^^^^^^^^^^^^^^^^^^ Wording: distribution -> repository? According to https://wiki.debian.org/SourcesList this seems the right term here. > 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. Agree. > > 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 \ > " > -- > 2.51.0 > > -- > 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/20251006141227.1017941-1-felix.moessbauer%40siemens.com. -- 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/a7ab99bcb0cd0549a8537a960e186dac066c925d.camel%40siemens.com.