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>
This commit is contained in:
Bastien JAUNY 2025-01-17 16:48:07 +01:00 committed by Richard Purdie
parent d1947c5364
commit 16c44defcd

View File

@ -32,6 +32,16 @@ bbnote() {
fi
}
# Notify the user of a noteworthy condition.
# Output: logs console
bbverbnote() {
if [ -p ${LOGFIFO} ]; then
printf "%b\0" "bbverbnote $*" > ${LOGFIFO}
else
echo "NOTE: $*"
fi
}
# Print a warning to the log. Warnings are non-fatal, and do not
# indicate a build failure.
# Output: logs console