Skip to contentSkip to conversation

should replicating offline build use "--runonly" or "--runall"?

docs Robert P. J. Day 2 participants 3 messages Jun 22, 2025 – Jun 24, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Robert P. J. Day

this section:

https://docs.yoctoproject.org/dev-manual/building.html#replicating-a-build-offline

advises to fetch the sources with:

  $ bitbake target --runonly=fetch
Quoted 8 lines

for the longest time now, i've used:

  $ bitbake target --runall=fetch

although i do recall that those behaviours changed once upon a time. so is that still the appropriate command to use? is it worth adding an explanation at that point as to the difference for people who might be curious?

as a followup, this section:

https://docs.yoctoproject.org/dev-manual/efficiently-fetching-sources.html

refers only to "--runall=fetch". so it seems inconsistent with the earlier section. or, at the very least, it has the potential for confusion.

rday

#2 lore raw
Quoted 20 lines · Robert P. J. Day
Quoted 9 lines · Robert P. J. Day

this section:

https://docs.yoctoproject.org/dev-manual/building.html#replicating-a-build-offline

advises to fetch the sources with:

  $ bitbake target --runonly=fetch
Quoted 8 lines

for the longest time now, i've used:

  $ bitbake target --runall=fetch

although i do recall that those behaviours changed once upon a time. so is that still the appropriate command to use? is it worth adding an explanation at that point as to the difference for people who might be curious?

Quoted 7 lines

as a followup, this section:

https://docs.yoctoproject.org/dev-manual/efficiently-fetching-sources.html

refers only to "--runall=fetch". so it seems inconsistent with the earlier section. or, at the very least, it has the potential for confusion.

Yes, I also --runall should be used. I'd take a patch.

Thanks,
Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
Quoted 23 lines · Antonin Godard
Quoted 22 lines · Robert P. J. Day
Quoted 9 lines · Robert P. J. Day

this section:

https://docs.yoctoproject.org/dev-manual/building.html#replicating-a-build-offline

advises to fetch the sources with:

  $ bitbake target --runonly=fetch
Quoted 8 lines

for the longest time now, i've used:

  $ bitbake target --runall=fetch

although i do recall that those behaviours changed once upon a time. so is that still the appropriate command to use? is it worth adding an explanation at that point as to the difference for people who might be curious?

as a followup, this section:

Quoted 7 lines
Quoted 5 lines

https://docs.yoctoproject.org/dev-manual/efficiently-fetching-sources.html

refers only to "--runall=fetch". so it seems inconsistent with the earlier section. or, at the very least, it has the potential for confusion.

Yes, I also --runall should be used. I'd take a patch.

and i would gleefully offer a patch if i actually understood the
distinction, and whether the developer needs to understand that distinction and when those two choices should be used.

rday