[OE-core] [PATCH 1/1] packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir

Robert Yang liezhi.yang at windriver.com
Thu Aug 18 06:16:56 UTC 2016


"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>
---
 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_'):
-- 
2.9.0




More information about the Openembedded-core mailing list