aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-08-02 23:09:02 -0700
committerRobert Yang <liezhi.yang@windriver.com>2016-08-17 23:16:16 -0700
commitd50cfa4249a186502631b272a5e0894c3b07b366 (patch)
tree98b337466104e10097533c1b6cd7f74c60405b7b
parentc86bf80abd87acb0da5860806822c64ec9dee089 (diff)
downloadopenembedded-core-contrib-rt/feed.tar.gz
packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dirrt/feed
"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@windriver.com>
-rw-r--r--meta/classes/packagefeed-stability.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/packagefeed-stability.bbclass b/meta/classes/packagefeed-stability.bbclass
index bcd3e4448b..aa01def74d 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_'):