From: Andreas Naumann <anaumann@emlix.com>
To: isar-users@googlegroups.com
Cc: Andreas Naumann <anaumann@emlix.com>
Subject: [PATCH 3/4] mmdebstrap: Allow for DISTRO_SOURCE to be empty
Date: Tue, 12 Aug 2025 15:02:48 +0200 [thread overview]
Message-ID: <20250812130249.709960-4-anaumann@emlix.com> (raw)
In-Reply-To: <20250812130249.709960-1-anaumann@emlix.com>
For isar-apt to be actually used, mmdebstrap needs to be supplied
with the correct suite name, "isar" as default.
Introduce a flag which allows switching to use the suite of the
internal isar-apt instead of DISTRO_SOURCE
Signed-off-by: Andreas Naumann <anaumann@emlix.com>
---
meta/classes/bootstrap.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/bootstrap.bbclass b/meta/classes/bootstrap.bbclass
index 64702d5d54..ae1dec9318 100644
--- a/meta/classes/bootstrap.bbclass
+++ b/meta/classes/bootstrap.bbclass
@@ -179,6 +179,8 @@ def generate_distro_sources(d):
yield parsed
def get_distro_primary_source_entry(d):
+ if bb.utils.to_boolean(d.getVar('ISAR_USE_ISAR_APT_TO_BOOTSTRAP')):
+ return ["", "${DEBDISTRONAME}", "main"]
for source in generate_distro_sources(d):
if source[0] == "deb":
return source[2:]
--
2.43.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/20250812130249.709960-4-anaumann%40emlix.com.
next prev parent reply other threads:[~2025-08-12 14:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-12 13:02 [PATCH 0/4] Bootstrap from local isar-apt repo Andreas Naumann
2025-08-12 13:02 ` [PATCH 1/4] mmdebstrap: Make use of defined variables Andreas Naumann
2025-08-12 13:02 ` [PATCH 2/4] mmdebstrap: Include isar-apt in bootstrapping sources Andreas Naumann
2025-08-12 13:02 ` Andreas Naumann [this message]
2025-08-12 13:02 ` [PATCH 4/4] mmdebstrap: lock isar-apt while bootstrapping Andreas Naumann
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=20250812130249.709960-4-anaumann@emlix.com \
--to=anaumann@emlix.com \
--cc=isar-users@googlegroups.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