Skip to contentSkip to conversation

packagefeed-stability.bbclass: change a bb.plain to bb.note

PATCH New [email protected] 1 participant 1 message Aug 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagefeed-stability.bbclass: change a bb.plain to bb.note

From: Ming Liu <[email protected]>

I could see dozens of "Copying packages for recipe..." messages on the console during a image build, this is sort of annoying. I would like them to be dumped into the task log instead, so I can get a cleaner console and would not miss real important messages.

---
 meta/classes/packagefeed-stability.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/packagefeed-stability.bbclass +1 -1
index c0e9be5..4837779 100644
@@ -189,7 +189,7 @@ def package_compare_impl(pkgtype, d):
 
     # Remove all the old files and copy again if docopy
     if docopy:
-        bb.plain('Copying packages for recipe %s' % pn)
+        bb.note('Copying packages for recipe %s' % pn)
         pcmanifest = os.path.join(prepath, d.expand('pkg-compare-manifest-${MULTIMACH_TARGET_SYS}-${PN}'))
         try:
             with open(pcmanifest, 'r') as f:
Signature · 1 line
2.7.4