[OE-core] [PATCH] archiver.bbclass: fix an exception of the mode configured
Jian Liu
jian.liu at windriver.com
Tue Nov 17 05:31:38 UTC 2015
Hi Ross,
I check the values of d.getVarFlag('do_configure', 'task') and
d.getVarFlag('do_unpack', 'task') for gcc-source.
But it seems that both values are 1.
I use the following command to get the values,
os.system("echo 'do_unpack=%s, do_configure=%s, noexec=%s, pn=%s' >>
/tmp/task.txt" %(d.getVarFlag('do_unpack',
'task'),d.getVarFlag('do_configure',
'task'),d.getVarFlag('do_configure', 'noexec'),pn))
Does I miss something?
I query several people about how to get the current tasks of a recipe.
But I get nothing more.
Thanks!
Jian
On 2015年11月16日 23:08, Burton, Ross wrote:
>
> On 16 November 2015 at 05:33, Jian Liu <jian.liu at windriver.com
> <mailto:jian.liu at windriver.com>> wrote:
>
> + if d.getVarFlag('do_configure', 'noexec') == '1' or
> 'do_configure' not in d.getVar('__BBTASKS', False):
>
>
> __BBTASKS is internal so shouldn't beused unless you have an awesome
> reason. Richard tells me that d.getVarFlag('do_configure', 'task') is
> probably what you want.
>
> Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151117/c4205b93/attachment-0002.html>
More information about the Openembedded-core
mailing list