summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-08-17 23:16:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-20 16:05:29 +0100
commit0865a5b8b8fbf478fb4b2310f808bcffff84a091 (patch)
tree0bbc783916322987bbd92497b14d3573f9b28189 /meta/classes
parent0f9ce74cb62afdd3a0c700be223d0ae0f88daa05 (diff)
downloadopenembedded-core-0865a5b8b8fbf478fb4b2310f808bcffff84a091.tar.gz
openembedded-core-0865a5b8b8fbf478fb4b2310f808bcffff84a091.tar.bz2
openembedded-core-0865a5b8b8fbf478fb4b2310f808bcffff84a091.zip
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@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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_'):