diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-08-02 23:09:02 -0700 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2016-08-17 23:16:16 -0700 |
commit | d50cfa4249a186502631b272a5e0894c3b07b366 (patch) | |
tree | 98b337466104e10097533c1b6cd7f74c60405b7b | |
parent | c86bf80abd87acb0da5860806822c64ec9dee089 (diff) | |
download | openembedded-core-contrib-d50cfa4249a186502631b272a5e0894c3b07b366.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.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): 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_'): |