summaryrefslogtreecommitdiffstats
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:06:04 +0100
commitaaca17d6baf32c637f0ad4de9b4b67b62f97a320 (patch)
treeed3e7f0c68675d3d158cc81d7159cd750788e6af /meta/classes
parentbc315512d323a8d7e3bd74675783aae2c8dc8f67 (diff)
downloadpoky-aaca17d6baf32c637f0ad4de9b4b67b62f97a320.tar.gz
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. (From OE-Core rev: 0865a5b8b8fbf478fb4b2310f808bcffff84a091) 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):
226 else: 226 else:
227 bb.plain('Not copying packages for recipe %s' % pn) 227 bb.plain('Not copying packages for recipe %s' % pn)
228 228
229do_cleanall_append() { 229do_cleansstate[postfuncs] += "pfs_cleanpkgs"
230python pfs_cleanpkgs () {
230 import errno 231 import errno
231 for pkgclass in (d.getVar('PACKAGE_CLASSES', True) or '').split(): 232 for pkgclass in (d.getVar('PACKAGE_CLASSES', True) or '').split():
232 if pkgclass.startswith('package_'): 233 if pkgclass.startswith('package_'):