diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-07-28 02:03:33 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 22:24:16 +0100 |
commit | f292979302d9be82a5e81b2b58a8187844976559 (patch) | |
tree | b1ee4a6721c3c004188d20e623ad69b8aef153ea | |
parent | fd921429958a726825759748900f22b4389c1d05 (diff) | |
download | poky-f292979302d9be82a5e81b2b58a8187844976559.tar.gz |
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.
(From OE-Core rev: c0da4270c76375a7a8cbcc09319fe4570ebbc5bd)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/useradd_base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
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 () { | |||
34 | sleep $count | 34 | sleep $count |
35 | done | 35 | done |
36 | else | 36 | else |
37 | bbwarn "${PN}: group $groupname already exists, not re-creating it" | 37 | bbnote "${PN}: group $groupname already exists, not re-creating it" |
38 | fi | 38 | fi |
39 | } | 39 | } |
40 | 40 | ||
@@ -62,7 +62,7 @@ perform_useradd () { | |||
62 | sleep $count | 62 | sleep $count |
63 | done | 63 | done |
64 | else | 64 | else |
65 | bbwarn "${PN}: user $username already exists, not re-creating it" | 65 | bbnote "${PN}: user $username already exists, not re-creating it" |
66 | fi | 66 | fi |
67 | } | 67 | } |
68 | 68 | ||