bitbake fetch vs fetchall?
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
Signature · 8 lines
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================'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'.
Quoted 39 lines · Robert P. J. Day
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, CANADALinux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday========================================================================
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Quoted 5 lines · Chris Larson
'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'.
i suspected as much, which is why i was suggesting that this
distinction be made clear in the user manual, since i know others have been bitten by this.
rday
Signature · 8 lines
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================Quoted 12 lines · Robert P. J. Day
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:
Quoted 9 lines
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"?
yes it could be improved and probably also point distinction between fetch and fetchall. Care to make a patch :)
Quoted 18 lines
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADALinux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 19 lines · Khem Raj
Quoted 17 lines · Robert P. J. Day
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.
Quoted 7 lines
Quoted 4 lines
which would seem to be slightly misleading and is bound to trip someone up. should not the user manual be extended to describe "fetchall"?
yes it could be improved and probably also point distinction between fetch and fetchall. Care to make a patch :)
i'll give it a shot later today.
rday
Signature · 8 lines
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================