diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-08-17 23:16:56 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-20 16:06:04 +0100 |
commit | aaca17d6baf32c637f0ad4de9b4b67b62f97a320 (patch) | |
tree | ed3e7f0c68675d3d158cc81d7159cd750788e6af /meta | |
parent | bc315512d323a8d7e3bd74675783aae2c8dc8f67 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/packagefeed-stability.bbclass | 3 |
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 | ||
229 | do_cleanall_append() { | 229 | do_cleansstate[postfuncs] += "pfs_cleanpkgs" |
230 | python 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_'): |