Skip to contentSkip to conversation

yocto_kernel: modify the msg when adding duplicate items

PATCH In review Ning Zhang 2 participants 3 messages Jun 3, 2013

lore
Share & tools
lore

Ning Zhang

author
#0 lore raw

cover yocto_kernel: modify the msg when adding duplicate items

The following changes since commit 73dae11852c656adbf5a2b0e44ac4c7e0078cd8d:

rpm: remove .real hacks in argument parsing (2013-05-31 14:02:45 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ning/bug4558
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ning/bug4558

Ning Zhang (1):
yocto_kernel: modify the msg when adding duplicate items

 scripts/lib/bsp/kernel.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/1 yocto_kernel: modify the msg when adding duplicate items

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]

---
 scripts/lib/bsp/kernel.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/bsp/kernel.py +1 -1
index 9ed6e94..94ae950 100644
@@ -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:
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#2 lore raw
Quoted 10 lines · Ning Zhang

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]

Quoted 17 lines
---
 scripts/lib/bsp/kernel.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/bsp/kernel.py +1 -1
index 9ed6e94..94ae950 100644
@@ -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: