summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien JAUNY <bastien.jauny@smile.fr>2025-01-17 16:48:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-20 13:38:59 +0000
commit16c44defcdbc351b5c63a9983d43514f7f7de64a (patch)
tree58aa9b76c771968a3bd22c4d04c58651ccf3cfda
parentd1947c5364102080b8b3cb92ea833c744d53ba0b (diff)
downloadpoky-16c44defcdbc351b5c63a9983d43514f7f7de64a.tar.gz
classes/logging: Added the bbverbnote command to the logging set
Fixes [YOCTO #15688] Reviewed-by: Yoann Congal <yoann.congal@smile.fr> (From OE-Core rev: 48e4b8c06e503868404b99bf45a46a52794baa5a) Signed-off-by: Bastien JAUNY <bastien.jauny@smile.fr> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes-global/logging.bbclass10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/classes-global/logging.bbclass b/meta/classes-global/logging.bbclass
index ce03abfe42..136f1e1733 100644
--- a/meta/classes-global/logging.bbclass
+++ b/meta/classes-global/logging.bbclass
@@ -32,6 +32,16 @@ bbnote() {
32 fi 32 fi
33} 33}
34 34
35# Notify the user of a noteworthy condition.
36# Output: logs console
37bbverbnote() {
38 if [ -p ${LOGFIFO} ]; then
39 printf "%b\0" "bbverbnote $*" > ${LOGFIFO}
40 else
41 echo "NOTE: $*"
42 fi
43}
44
35# Print a warning to the log. Warnings are non-fatal, and do not 45# Print a warning to the log. Warnings are non-fatal, and do not
36# indicate a build failure. 46# indicate a build failure.
37# Output: logs console 47# Output: logs console