[oe-commits] [openembedded-core] 18/18: packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir
git at git.openembedded.org
git at git.openembedded.org
Sat Aug 20 15:09:49 UTC 2016
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 0865a5b8b8fbf478fb4b2310f808bcffff84a091
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Wed Aug 17 23:16:56 2016 -0700
packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir
"bitbake recipe -ccleansstate" should remove binary pkgs from deploy dir
as normal cleansstate does without packagefeed-stability.bbclass.
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/packagefeed-stability.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/classes/packagefeed-stability.bbclass b/meta/classes/packagefeed-stability.bbclass
index bcd3e44..aa01def 100644
--- a/meta/classes/packagefeed-stability.bbclass
+++ b/meta/classes/packagefeed-stability.bbclass
@@ -226,7 +226,8 @@ def package_compare_impl(pkgtype, d):
else:
bb.plain('Not copying packages for recipe %s' % pn)
-do_cleanall_append() {
+do_cleansstate[postfuncs] += "pfs_cleanpkgs"
+python pfs_cleanpkgs () {
import errno
for pkgclass in (d.getVar('PACKAGE_CLASSES', True) or '').split():
if pkgclass.startswith('package_'):
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list