[oe-commits] [openembedded-core] 19/21: packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir
git at git.openembedded.org
git at git.openembedded.org
Fri Aug 19 15:51:51 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit ea7ca96051e821059bcc2785857afa7ecb3a9646
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