[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1998/8267] packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir



commit aaca17d6baf32c637f0ad4de9b4b67b62f97a320
Author: Robert Yang <liezhi yang windriver com>
Date:   Wed Aug 17 23:16:56 2016 -0700

    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>

 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 bcd3e44..aa01def 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_'):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]