mirror of
https://git.yoctoproject.org/poky-contrib
synced 2025-05-09 08:02:36 +08: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
|
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
|
# Print a warning to the log. Warnings are non-fatal, and do not
|
||||||
# indicate a build failure.
|
# indicate a build failure.
|
||||||
# Output: logs console
|
# Output: logs console
|
||||||
|
Loading…
x
Reference in New Issue
Block a user