]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
yocto_kernel: modify the msg when adding duplicate items
authorNing Zhang <ning.zhang@windriver.com>
Mon, 3 Jun 2013 05:21:18 +0000 (13:21 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Jun 2013 10:47:06 +0000 (11:47 +0100)
Privious check-in "yocto_kernel: check current items before add a
new one" had been merged before I apply the feedback from Zanussi, Tom.
Now fix it as a new patch.

This fix modify the output message when customer adding duplicate
items.

[YOCTO #4558]

Signed-off-by: Ning Zhang <ning.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/bsp/kernel.py

index 9ed6e9417cbaa29ca19b2db7c5b34403f779fe20..94ae950a321b1ba2f8a64baa15c3221b0d936061 100644 (file)
@@ -260,7 +260,7 @@ def yocto_kernel_config_add(scripts_path, machine, config_items):
             print "\t%s" % n
 
     if len(dup_items) > 0:
-        output="Below item%s already exist%s in current configuration, ignore %s" % \
+        output="The following item%s already exist%s in the current configuration, ignoring %s:" % \
             (("","s", "it") if len(dup_items)==1 else ("s", "", "them" ))
         print output
         for n in dup_items: