mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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:
parent
d1947c5364
commit
16c44defcd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user