[OE-core] [PATCH V2 1/2] uninative-tarball: delete the packagedata task

Paul Eggleton paul.eggleton at linux.intel.com
Fri Apr 24 09:03:32 UTC 2015


On Friday 24 April 2015 16:59:34 Chen Qi wrote:
> This task is meaningless for uninative-tarball as the package task
> has been deleted. Besides, sometimes it would cause problems. To
> reproduce, use the following command.
> 
> bitbake uninative-tarball -c cleansstate && bitbake uninative-tarball &&
> bitbake uninative-tarball -c clean && bitbake uninative-tarball
> 
> The error is something like below.
> 
> File: 'sstate.bbclass', lineno: 33, function: sstate_installpkg
>      0029:        bb.build.exec_func(f, d)
>      0030:
>      0031:    for state in ss['dirs']:
>      0032:        prepdir(state[1])
>  *** 0033:        os.rename(sstateinst + state[0], state[1])
>      0034:    sstate_install(ss, d)
>      0035:
>      0036:    for plain in ss['plaindirs']:
>      0037:        workdir = d.getVar('WORKDIR', True)
> Exception: OSError: [Errno 2] No such file or directory
> 
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
>  meta/recipes-core/meta/uninative-tarball.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-core/meta/uninative-tarball.bb
> b/meta/recipes-core/meta/uninative-tarball.bb index 62bdde8..41f7927 100644
> --- a/meta/recipes-core/meta/uninative-tarball.bb
> +++ b/meta/recipes-core/meta/uninative-tarball.bb
> @@ -23,6 +23,7 @@ inherit populate_sdk
> 
>  deltask install
>  deltask package
> +deltask packagedata
> 
>  SDK_DEPENDS += "patchelf-native"

I forgot to note, this one is filed also - [YOCTO #7597]. Can you please add 
this to the commit message on the branch?

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list