* Multiple sources lists in images
@ 2025-02-10 8:40 'Jan Kiszka' via isar-users
2025-02-10 8:56 ` 'Jan Kiszka' via isar-users
0 siblings, 1 reply; 4+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-02-10 8:40 UTC (permalink / raw)
To: isar-users
Hi all,
seems the switch to mmdebstrap caused some more minor regression:
$ tar -tf build/tmp/deploy/bootstrap/debian-bookworm-amd64.tar.zst | \
grep /etc/apt/source
./etc/apt/sources-list
./etc/apt/sources.list.d/
./etc/apt/sources.list.d/0000bootstrap.list
Our image class later on makes sources-list to
sources.list.d/bootstrap.list, and now we have them twice. When calling
apt on the target, you will be flooded with warnings (things still work
at least).
Before simply deleting 0000bootstrap.list from the mmdebstrap output, I
would first of all like to reflect if what we are doing in image.bbclass
do_rootfs_finalize is still up-to-date with mmdebstrap. What was the
idea behind moving /etc/apt/sources-list around?
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
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/9fd055d1-04de-4ec6-a246-ad2289aac19e%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Multiple sources lists in images
2025-02-10 8:40 Multiple sources lists in images 'Jan Kiszka' via isar-users
@ 2025-02-10 8:56 ` 'Jan Kiszka' via isar-users
2025-02-10 9:11 ` Srinuvasan Arjunan
0 siblings, 1 reply; 4+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-02-10 8:56 UTC (permalink / raw)
To: isar-users; +Cc: Srinuvasan A
On 10.02.25 09:40, 'Jan Kiszka' via isar-users wrote:
> Hi all,
>
> seems the switch to mmdebstrap caused some more minor regression:
>
> $ tar -tf build/tmp/deploy/bootstrap/debian-bookworm-amd64.tar.zst | \
> grep /etc/apt/source
> ./etc/apt/sources-list
> ./etc/apt/sources.list.d/
> ./etc/apt/sources.list.d/0000bootstrap.list
>
> Our image class later on makes sources-list to
> sources.list.d/bootstrap.list, and now we have them twice. When calling
> apt on the target, you will be flooded with warnings (things still work
> at least).
>
> Before simply deleting 0000bootstrap.list from the mmdebstrap output, I
> would first of all like to reflect if what we are doing in image.bbclass
> do_rootfs_finalize is still up-to-date with mmdebstrap. What was the
> idea behind moving /etc/apt/sources-list around?
>
> Jan
>
Fun fact: It took the fix of f873658c981a to surface this. Was just
wondering why isar-cip-core does not see this yet. It is on a slightly
older revision due to various isar regressions.
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
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/d0b5fc90-8a73-4ea3-895d-179172403bda%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Multiple sources lists in images
2025-02-10 8:56 ` 'Jan Kiszka' via isar-users
@ 2025-02-10 9:11 ` Srinuvasan Arjunan
2025-02-10 9:40 ` 'Jan Kiszka' via isar-users
0 siblings, 1 reply; 4+ messages in thread
From: Srinuvasan Arjunan @ 2025-02-10 9:11 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 1891 bytes --]
On Monday, February 10, 2025 at 2:26:43 PM UTC+5:30 Jan Kiszka wrote:
On 10.02.25 09:40, 'Jan Kiszka' via isar-users wrote:
> Hi all,
>
> seems the switch to mmdebstrap caused some more minor regression:
>
> $ tar -tf build/tmp/deploy/bootstrap/debian-bookworm-amd64.tar.zst | \
> grep /etc/apt/source
> ./etc/apt/sources-list
> ./etc/apt/sources.list.d/
> ./etc/apt/sources.list.d/0000bootstrap.list
>
> Our image class later on makes sources-list to
> sources.list.d/bootstrap.list, and now we have them twice. When calling
> apt on the target, you will be flooded with warnings (things still work
> at least).
>
> Before simply deleting 0000bootstrap.list from the mmdebstrap output, I
> would first of all like to reflect if what we are doing in image.bbclass
> do_rootfs_finalize is still up-to-date with mmdebstrap. What was the
> idea behind moving /etc/apt/sources-list around?
>
> Jan
>
Fun fact: It took the fix of f873658c981a to surface this. Was just
wondering why isar-cip-core does not see this yet. It is on a slightly
older revision due to various isar regressions.
Jan
Hi Jan,
This issue was observed in cip-core few months ago, and moreover we are
observing this issue with the mmdebstrap, not isar-bootstrap, I'm not sure
about the history of moving /etc/apt/sources-list as bootstrap.list,
might be for keeping any custom list.
Thanks,
Srinu
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
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/90c7feb4-45ad-401c-baa3-a04e15006d21n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 2819 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Multiple sources lists in images
2025-02-10 9:11 ` Srinuvasan Arjunan
@ 2025-02-10 9:40 ` 'Jan Kiszka' via isar-users
0 siblings, 0 replies; 4+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-02-10 9:40 UTC (permalink / raw)
To: Srinuvasan Arjunan, isar-users
On 10.02.25 10:11, Srinuvasan Arjunan wrote:
>
>
> On Monday, February 10, 2025 at 2:26:43 PM UTC+5:30 Jan Kiszka wrote:
>
> On 10.02.25 09:40, 'Jan Kiszka' via isar-users wrote:
> > Hi all,
> >
> > seems the switch to mmdebstrap caused some more minor regression:
> >
> > $ tar -tf build/tmp/deploy/bootstrap/debian-bookworm-amd64.tar.zst
> | \
> > grep /etc/apt/source
> > ./etc/apt/sources-list
> > ./etc/apt/sources.list.d/
> > ./etc/apt/sources.list.d/0000bootstrap.list
> >
> > Our image class later on makes sources-list to
> > sources.list.d/bootstrap.list, and now we have them twice. When
> calling
> > apt on the target, you will be flooded with warnings (things still
> work
> > at least).
> >
> > Before simply deleting 0000bootstrap.list from the mmdebstrap
> output, I
> > would first of all like to reflect if what we are doing in
> image.bbclass
> > do_rootfs_finalize is still up-to-date with mmdebstrap. What was the
> > idea behind moving /etc/apt/sources-list around?
> >
> > Jan
> >
>
> Fun fact: It took the fix of f873658c981a to surface this. Was just
> wondering why isar-cip-core does not see this yet. It is on a slightly
> older revision due to various isar regressions.
>
> Jan
>
>
> Hi Jan,
>
> This issue was observed in cip-core few months ago, and moreover we
> are observing this issue with the mmdebstrap, not isar-bootstrap, I'm
> not sure about the history of moving /etc/apt/sources-list as
> bootstrap.list, might be for keeping any custom list.
>
Moving the file is really a debstrap thing. I guess we simply make it
also depend on sources.list.d being empty and can then eventually phase
it out. And the purging in case of non-empty IMAGE_LISTS needs to work
against the folder, not that legacy file.
I'll write some patch.
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
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/66e67acd-319d-447e-928b-6c5a800c2ecc%40siemens.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-02-10 9:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-10 8:40 Multiple sources lists in images 'Jan Kiszka' via isar-users
2025-02-10 8:56 ` 'Jan Kiszka' via isar-users
2025-02-10 9:11 ` Srinuvasan Arjunan
2025-02-10 9:40 ` 'Jan Kiszka' 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