public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/2] mmdebstrap: drop orphan upload of APTSRCS_INIT to /etc/apt/sources-list
@ 2026-06-01 14:15 'Clara Kowalsky' via isar-users
  2026-06-01 14:15 ` [PATCH 2/2] bootstrap: drop unused APTSRCS_INIT 'Clara Kowalsky' via isar-users
  0 siblings, 1 reply; 2+ messages in thread
From: 'Clara Kowalsky' via isar-users @ 2026-06-01 14:15 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, Clara Kowalsky

The path /etc/apt/sources-list (not dot) is not read by apt. The only
consumer was a fallback in image.bbclass do_rootfs_finalize that moved
the file to /etc/apt/sources.list.d/bootstrap.list when the directory
was empty after debootstrap. That fallback was removed in commit
d58332b2 ("bootstrap: remove isar-bootstrap support").
Mmdebstrap writes bootstrap.list itself. The leftover hook just ships an
unused file in every rootfs.

Signed-off-by: Clara Kowalsky <clara.kowalsky@siemens.com>
---
 meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
index 6c2cb170..cef953ef 100644
--- a/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
+++ b/meta/recipes-core/isar-mmdebstrap/isar-mmdebstrap.inc
@@ -229,7 +229,6 @@ do_bootstrap() {
                    --setup-hook='mkdir -p "$1/var/cache/apt/archives/"' \
                    --setup-hook="$extra_setup" \
                    --setup-hook='upload "${APTPREFS}" /etc/apt/preferences.d/bootstrap' \
-                   --setup-hook='upload "${APTSRCS_INIT}" /etc/apt/sources-list' \
                    --setup-hook='upload "${WORKDIR}/locale" /etc/locale' \
                    --setup-hook='mkdir -p "$1/etc/apt/trusted.gpg.d"' \
                    --setup-hook='sync-in "${WORKDIR}/trusted.gpg.d" /etc/apt/trusted.gpg.d' \
-- 
2.54.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/20260601141551.1997347-1-clara.kowalsky%40siemens.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-01 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01 14:15 [PATCH 1/2] mmdebstrap: drop orphan upload of APTSRCS_INIT to /etc/apt/sources-list 'Clara Kowalsky' via isar-users
2026-06-01 14:15 ` [PATCH 2/2] bootstrap: drop unused APTSRCS_INIT 'Clara Kowalsky' via isar-users

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox