From c0da4270c76375a7a8cbcc09319fe4570ebbc5bd Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 28 Jul 2015 02:03:33 -0700 Subject: useradd_base.bbclass: do not warn when the user exists Use bbnote rather than bbwarn when the user exists, otherwise we would always get the warnings when rebuild the recipe or build with mulitlib, everything is OK if the user exists, so it should not be a warning. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/classes/useradd_base.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes') diff --git a/meta/classes/useradd_base.bbclass b/meta/classes/useradd_base.bbclass index 7fe83a7653..802f3a1085 100644 --- a/meta/classes/useradd_base.bbclass +++ b/meta/classes/useradd_base.bbclass @@ -34,7 +34,7 @@ perform_groupadd () { sleep $count done else - bbwarn "${PN}: group $groupname already exists, not re-creating it" + bbnote "${PN}: group $groupname already exists, not re-creating it" fi } @@ -62,7 +62,7 @@ perform_useradd () { sleep $count done else - bbwarn "${PN}: user $username already exists, not re-creating it" + bbnote "${PN}: user $username already exists, not re-creating it" fi } -- cgit v1.2.3