Skip to contentSkip to conversation

is there a bitbake command to *just* fetch all necessary packages?

DISCUSSION Robert P. J. Day 4 participants 4 messages Jun 18, 2012

lore
Share & tools
lore
#0 lore raw

perhaps i'm just misreading the docs, but is there a bitbake
incantation that does *nothing* more than fetch the packages needed for a target image?

if i use "bitbake -c fetchall", the result is not just to fetch the
source, but to unload and patch it as well. i don't want that, i want whatever the magic is to just *fetch* and leave it at that. or is that simply not possible?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 7 lines · Robert P. J. Day

 perhaps i'm just misreading the docs, but is there a bitbake incantation that does *nothing* more than fetch the packages needed for a target image?

 if i use "bitbake -c fetchall", the result is not just to fetch the source, but to unload and patch it as well.

hmmm I thought it did just what it says 'fetch all' but as you say it seems to do more hmm I am not sure if its intended behavior

 i don't want that, i want

Quoted 19 lines

whatever the magic is to just *fetch* and leave it at that.  or is that simply not possible?

rday

--

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                       http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel

#2 lore raw
Quoted 11 lines · Khem Raj
Quoted 7 lines · Robert P. J. Day

perhaps i'm just misreading the docs, but is there a bitbake
incantation that does *nothing* more than fetch the packages needed for a target image?

if i use "bitbake -c fetchall", the result is not just to fetch the
source, but to unload and patch it as well.

hmmm I thought it did just what it says 'fetch all' but as you say it seems to do more hmm I am not sure if its intended behavior

In order for fetchall to work, there are a few dependencies that have to be executed as well..

But bitbake -c fetchall <target>, will fetch everything needed for the <target> recipe. It will extract and build only the items necessary for fetch to work properly.

--Mark

Quoted 24 lines

i don't want that, i want

Quoted 11 lines

whatever the magic is to just *fetch* and leave it at that. or is that simply not possible?

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Quoted 8 lines
Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================

_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel

_______________________________________________
bitbake-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel

#3 lore raw
Quoted 13 lines · Mark Hatle
Quoted 11 lines · Khem Raj
Quoted 7 lines · Robert P. J. Day

perhaps i'm just misreading the docs, but is there a bitbake
incantation that does *nothing* more than fetch the packages needed for a target image?

if i use "bitbake -c fetchall", the result is not just to fetch the
source, but to unload and patch it as well.

hmmm I thought it did just what it says 'fetch all' but as you say it seems to do more hmm I am not sure if its intended behavior

Quoted 6 lines

In order for fetchall to work, there are a few dependencies that have to be executed as well..

But bitbake -c fetchall <target>, will fetch everything needed for the <target> recipe. It will extract and build only the items necessary for fetch to work properly.

So just to be clear, the issues are git-native, potentially subversion-native and also potentially pseudo-native getting built by the wrapper. If you add those to ASSUME_PROVIDED, and skip the wrapper, to avoid pseudo-native (or teach the wrapper to pass through -c fetchall directly?) it will just fetch.

Cheers,

Richard