From 96edb2002a014b4644da974444e8fa479dda427f Mon Sep 17 00:00:00 2001 From: Ning Zhang Date: Mon, 3 Jun 2013 13:21:18 +0800 Subject: 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] (From meta-yocto rev: 530c6efa85b1798d30db4c6c83a748b100b8c1c3) Signed-off-by: Ning Zhang Signed-off-by: Richard Purdie --- scripts/lib/bsp/kernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py index 9ed6e9417c..94ae950a32 100644 --- a/scripts/lib/bsp/kernel.py +++ b/scripts/lib/bsp/kernel.py @@ -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: -- cgit v1.2.3-54-g00ecf