From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH v2 3/4] ubuntu: add default snapshot entry for ports
Date: Mon, 16 Nov 2026 13:57:07 +0100 [thread overview]
Message-ID: <20261116125708.2997360-4-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20261116125708.2997360-1-felix.moessbauer@siemens.com>
Currently the snapshot settings on ports are silently ignored because
the apt filter does not match the ports.ubuntu.com mirror. While there
is a ports snapshot mirror, this currently does not correctly behave
like a snapshot mirrors but rather like a normal mirror. The details
remain unclear, but we anyways set it so the build fails instead of
silently building the wrong thing. If the mirror ever works again, it
will automatically start working (correctly) again.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
meta-isar/conf/distro/ubuntu-common.inc | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/meta-isar/conf/distro/ubuntu-common.inc b/meta-isar/conf/distro/ubuntu-common.inc
index b4a0d588..fb8906e7 100644
--- a/meta-isar/conf/distro/ubuntu-common.inc
+++ b/meta-isar/conf/distro/ubuntu-common.inc
@@ -42,6 +42,11 @@ SYSTEMD_BOOTLOADER_INSTALL:focal = "systemd:${DISTRO_ARCH}"
SYSTEMD_BOOTLOADER_INSTALL:jammy = "systemd:${DISTRO_ARCH}"
# snapshot mirror for reproducible builds
-DISTRO_APT_SNAPSHOT_PREMIRROR ??= "(http|https)://archive.ubuntu.com/(.*) https://snapshot.ubuntu.com/\2/${ISAR_APT_SNAPSHOT_DATE_INTERNAL}\n"
+# note, that the ports snapshot currently does not provide a proper snapshot mirror
+# we keep it anyways to let the build fail instead of silently using a non-snapshot mirror
+DISTRO_APT_SNAPSHOT_PREMIRROR ??= " \
+ (http|https)://archive.ubuntu.com/(.*) https://snapshot.ubuntu.com/\2/${ISAR_APT_SNAPSHOT_DATE_INTERNAL}\n \
+ (http|https)://ports.ubuntu.com/(.*) https://snapshot.ports.ubuntu.com/\2/${ISAR_APT_SNAPSHOT_DATE_INTERNAL}\n \
+"
SBOM_BASE_DISTRO_VENDOR ?= "ubuntu"
--
2.55.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/20261116125708.2997360-4-felix.moessbauer%40siemens.com.
next prev parent reply other threads:[~2026-11-16 12:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 12:57 [PATCH v2 0/4] A couple of fixes for snapshot handling on Ubuntu 'Felix Moessbauer' via isar-users
2026-11-16 12:57 ` [PATCH v2 1/4] update source date epoch fallback to cover all distro versions 'Felix Moessbauer' via isar-users
2026-11-16 12:57 ` [PATCH v2 2/4] fix(resolute-arm64): use official mirror instead of ports 'Felix Moessbauer' via isar-users
2026-11-16 12:57 ` 'Felix Moessbauer' via isar-users [this message]
2026-11-16 12:57 ` [PATCH v2 4/4] testsuite: check if all ubuntu targets can be bootstrapped 'Felix Moessbauer' via isar-users
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261116125708.2997360-4-felix.moessbauer@siemens.com \
--to=isar-users@googlegroups.com \
--cc=felix.moessbauer@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox