]> code.ossystems Code Review - openembedded-core.git/commit
staging: Ensure a clean recipe sysroot removes addto_recipe_sysroot stamps
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Jul 2017 12:12:31 +0000 (13:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Jul 2017 12:34:00 +0000 (13:34 +0100)
commitc440298674ab3b960c83a127eedb9e1b66bddf78
treef06029dba539a1a903672e719aff8b3e06d43b8b
parentb798284f62b3cb171373716b1ee84403439314aa
staging: Ensure a clean recipe sysroot removes addto_recipe_sysroot stamps

The commands:

bitbake nodejs-native;
bitbake nodejs-native -c clean;
bitbake nodejs-native;
bitbake -c addto_recipe_sysroot nodejs-native;
bitbake -c devshell nodejs-native;
bitbake -c addto_recipe_sysroot nodejs-native;
bitbake -c devshell nodejs-native;

never result in npm in the sysroot within devshell. The reason is the
addto_recipe_sysroot stamp isn't removed when do_fetch is run but the sysroot
is cleaned.

With this patch, the second devshell will contain npm, which I think is probably
the best outcome we can hope for here.

[YOCTO #11461]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass