Skip to contentSkip to conversation

runqueue: Change pressure file warning to a note

PATCH New Richard Purdie 1 participant 1 message Aug 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqueue: Change pressure file warning to a note

The user does need to be told about this but it isn't really a warning, just something they may need to be aware of. Drop the level accordingly.

---
 lib/bb/runqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/runqueue.py +1 -1
index d0ffe3932c..48e25401ba 100644
@@ -180,7 +180,7 @@ class RunQueueScheduler(object):
                     self.prev_pressure_time = time.time()
                 self.check_pressure = True
             except:
-                bb.warn("The /proc/pressure files can't be read. Continuing build without monitoring pressure")
+                bb.note("The /proc/pressure files can't be read. Continuing build without monitoring pressure")
                 self.check_pressure = False
         else:
             self.check_pressure = False
Signature · 1 line
2.34.1