[oe] bitbake fetch vs fetchall?

Chris Larson clarson at kergoth.com
Thu May 13 18:27:07 UTC 2010


'fetch' fetches for the one recipe you're requesting.  If you bitbake -c
fetch busybox, it fetches busybox.  If you bitbake -c fetchall busybox, it
fetches busybox and all of busybox's dependencies.  This is the case for all
the tasks which end in 'all'.

On Thu, May 13, 2010 at 11:18 AM, Robert P. J. Day <rpjday at crashcourse.ca>wrote:

>
>   based on a quick google, i realize i'm not the only person who's
> once been burned by not knowing about the bitbake "fetchall" command
> versus the "fetch" command.  and i'm aware that, if one wants to fetch
> absolutely *all* software required for a given target, one must use
> "fetchall".
>
>  so, first, what's the difference between these two commands?  and,
> second, there's precious little explanation in the current OE user
> manual about "fetchall".  in fact, in the user manual, there is the
> explanation:
>
> fetch
>
>    Try to download all of the required source files, but don't do
> anything else with them.
>
> which would seem to be slightly misleading and is bound to trip
> someone up.  should not the user manual be extended to describe
> "fetchall"?
>
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
>
>            Linux Consulting, Training and Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> ========================================================================
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list