]> code.ossystems Code Review - openembedded-core.git/commitdiff
packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 18 Aug 2016 06:16:56 +0000 (23:16 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 20 Aug 2016 15:05:29 +0000 (16:05 +0100)
"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>
meta/classes/packagefeed-stability.bbclass

index bcd3e4448b6c1d1e02eb7a38e3cfdc34bd7e4ad0..aa01def74d1b0129ad1472a167ca2f761eaa836d 100644 (file)
@@ -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_'):