* PREMIRRORS ordering seem wrong?
@ 2024-11-13 10:30 Joakim Tjernlund
2024-11-13 12:49 ` [OE-core] " Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Joakim Tjernlund @ 2024-11-13 10:30 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
I have set:
INHERIT += "own-mirrors"
PREMIRRORS:prepend = "my git pre mirror expr."
looking at:
bitbake -e my-image | grep PREMIRRORS=
I see that "my git pre mirror expr." is last in PREMIRRORS variable, that seems wrong?
To me "my git pre mirror expr." should be before the entries added by own-mirrors
Jocke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] PREMIRRORS ordering seem wrong?
2024-11-13 10:30 PREMIRRORS ordering seem wrong? Joakim Tjernlund
@ 2024-11-13 12:49 ` Richard Purdie
2024-11-13 13:22 ` Joakim Tjernlund
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2024-11-13 12:49 UTC (permalink / raw)
To: Joakim.Tjernlund, openembedded-core@lists.openembedded.org
On Wed, 2024-11-13 at 10:30 +0000, Joakim Tjernlund via
lists.openembedded.org wrote:
> I have set:
> INHERIT += "own-mirrors"
> PREMIRRORS:prepend = "my git pre mirror expr."
>
> looking at:
> bitbake -e my-image | grep PREMIRRORS=
> I see that "my git pre mirror expr." is last in PREMIRRORS variable,
> that seems wrong?
>
> To me "my git pre mirror expr." should be before the entries added by
> own-mirrors
INHERIT in conf files is deferred and not immediately processed.
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] PREMIRRORS ordering seem wrong?
2024-11-13 12:49 ` [OE-core] " Richard Purdie
@ 2024-11-13 13:22 ` Joakim Tjernlund
2024-11-13 13:28 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Joakim Tjernlund @ 2024-11-13 13:22 UTC (permalink / raw)
To: richard.purdie@linuxfoundation.org,
openembedded-core@lists.openembedded.org
On Wed, 2024-11-13 at 12:49 +0000, Richard Purdie wrote:
> On Wed, 2024-11-13 at 10:30 +0000, Joakim Tjernlund via
> lists.openembedded.org wrote:
> > I have set:
> > INHERIT += "own-mirrors"
> > PREMIRRORS:prepend = "my git pre mirror expr."
> >
> > looking at:
> > bitbake -e my-image | grep PREMIRRORS=
> > I see that "my git pre mirror expr." is last in PREMIRRORS variable,
> > that seems wrong?
> >
> > To me "my git pre mirror expr." should be before the entries added by
> > own-mirrors
>
> INHERIT in conf files is deferred and not immediately processed.
>
OK, that seems to support my findings as own-mirrors also does PREMIRRORS:prepend and that
puts my own PREMIRRORS:prepend = "my git pre mirror expr." last in PREMIRRORS
It that how it should be?
Jocke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] PREMIRRORS ordering seem wrong?
2024-11-13 13:22 ` Joakim Tjernlund
@ 2024-11-13 13:28 ` Richard Purdie
0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2024-11-13 13:28 UTC (permalink / raw)
To: Joakim Tjernlund, openembedded-core@lists.openembedded.org
On Wed, 2024-11-13 at 13:22 +0000, Joakim Tjernlund wrote:
> On Wed, 2024-11-13 at 12:49 +0000, Richard Purdie wrote:
> > On Wed, 2024-11-13 at 10:30 +0000, Joakim Tjernlund via
> > lists.openembedded.org wrote:
> > > I have set:
> > > INHERIT += "own-mirrors"
> > > PREMIRRORS:prepend = "my git pre mirror expr."
> > >
> > > looking at:
> > > bitbake -e my-image | grep PREMIRRORS=
> > > I see that "my git pre mirror expr." is last in PREMIRRORS
> > > variable,
> > > that seems wrong?
> > >
> > > To me "my git pre mirror expr." should be before the entries
> > > added by
> > > own-mirrors
> >
> > INHERIT in conf files is deferred and not immediately processed.
> >
>
> OK, that seems to support my findings as own-mirrors also does
> PREMIRRORS:prepend and that
> puts my own PREMIRRORS:prepend = "my git pre mirror expr." last in
> PREMIRRORS
>
> It that how it should be?
INHERIT has always been handled at the end of "conf file" parsing so
that isn't a bug.
The fact own-mirrors uses prepend is also as it has been for a long
time. Things are behaving as expected, the only question would be if
own-mirrors should do something differently but that could break other
users :/
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-13 13:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 10:30 PREMIRRORS ordering seem wrong? Joakim Tjernlund
2024-11-13 12:49 ` [OE-core] " Richard Purdie
2024-11-13 13:22 ` Joakim Tjernlund
2024-11-13 13:28 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox