[oe] [meta-java][PATCH] java.bbclass: change a warning message to note
jackie.huang at windriver.com
jackie.huang at windriver.com
Mon May 30 08:37:47 UTC 2016
From: Jackie Huang <jackie.huang at windriver.com>
The logic is to check if the destination file exists before
create the symlink, and give a message about removing the
existing file, it's harmless and not necessary to be a warning.
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
classes/java.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/java.bbclass b/classes/java.bbclass
index ab51787..fc97295 100644
--- a/classes/java.bbclass
+++ b/classes/java.bbclass
@@ -58,7 +58,7 @@ oe_jarinstall() {
# Creates symlinks out of the remaining arguments.
while [ "$#" -gt 0 ]; do
if [ -e $dir/$1 -o -h $dir/$1 ]; then
- bbwarn "file was in the way. removing:" $dir/$1
+ bbnote "file was in the way. removing:" $dir/$1
rm $dir/$1
fi
ln -s $destname $dir/$1
--
2.8.1
More information about the Openembedded-devel
mailing list