Skip to contentSkip to conversation

PREMIRRORS ordering seem wrong?

DISCUSSION Joakim Tjernlund 2 participants 4 messages Nov 13, 2024

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Joakim Tjernlund via 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

INHERIT in conf files is deferred and not immediately processed.

Cheers,

Richard

#2 lore raw
Quoted 11 lines · Richard Purdie
Quoted 9 lines · Joakim Tjernlund via 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?

Quoted 5 lines
Quoted 2 lines

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

#3 lore raw
Quoted 20 lines · Joakim Tjernlund
Quoted 12 lines · Richard Purdie
Quoted 10 lines · Joakim Tjernlund via 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?

Quoted 6 lines
Quoted 3 lines

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.

Quoted 6 lines

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