* [meta-java][PATCH] java.bbclass: change a warning message to note
@ 2016-05-30 8:37 jackie.huang
2016-07-18 13:45 ` Otavio Salvador
0 siblings, 1 reply; 2+ messages in thread
From: jackie.huang @ 2016-05-30 8:37 UTC (permalink / raw)
To: openembedded-devel
From: Jackie Huang <jackie.huang@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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-java][PATCH] java.bbclass: change a warning message to note
2016-05-30 8:37 [meta-java][PATCH] java.bbclass: change a warning message to note jackie.huang
@ 2016-07-18 13:45 ` Otavio Salvador
0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2016-07-18 13:45 UTC (permalink / raw)
To: OpenEmbedded Devel List
On Mon, May 30, 2016 at 5:37 AM, <jackie.huang@windriver.com> wrote:
> From: Jackie Huang <jackie.huang@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@windriver.com>
In master-next for test.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-18 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-30 8:37 [meta-java][PATCH] java.bbclass: change a warning message to note jackie.huang
2016-07-18 13:45 ` Otavio Salvador
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.