Skip to contentSkip to conversation

packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir

PATCH New Robert Yang 1 participant 2 messages Aug 18, 2016

lore
Share & tools
lore
#0 lore raw

cover packagefeed-stability.bbclass: cleansstate should remove pkgs from deploy dir

The following changes since commit c86bf80abd87acb0da5860806822c64ec9dee089:

oeqa.buildperf: use oe.path.remove() (2016-08-17 10:35:27 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rt/feed
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rt/feed

Robert Yang (1):
packagefeed-stability.bbclass: cleansstate should remove pkgs from
deploy dir

 meta/classes/packagefeed-stability.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.9.0
#1 lore raw

PATCH 1/1 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.

---
 meta/classes/packagefeed-stability.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/classes/packagefeed-stability.bbclass +2 -1
index bcd3e44..aa01def 100644
@@ -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_'):
Signature · 1 line
2.9.0