diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2015-10-20 19:14:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-21 22:52:19 +0100 |
commit | f775e4cffe45edb673a414a2038c4f2b09b9b827 (patch) | |
tree | 7ed1bd6b0eaff7ce919926f698d0422e4610ca13 /meta/classes | |
parent | 33960902b9c36575ddda3d926d70fa13bbad85f6 (diff) | |
download | openembedded-core-f775e4cffe45edb673a414a2038c4f2b09b9b827.tar.gz openembedded-core-f775e4cffe45edb673a414a2038c4f2b09b9b827.tar.bz2 openembedded-core-f775e4cffe45edb673a414a2038c4f2b09b9b827.zip |
useradd_base.bbclass: Do not warn without a reason
In c0da4270c76375a7a8cbcc09319fe4570ebbc5bd two bbwarn were changed to
bbnote for the case where an added user or group already exists. The
same should have been done for groupmems, groupdel and userdel as well
since the warnings that are currently generated are superflouous.
The two remaining similar bbwarn for groupmod and usermod are left as
is since there they actually make sense.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/useradd_base.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/useradd_base.bbclass b/meta/classes/useradd_base.bbclass index 802f3a1085..ab3cd353f0 100644 --- a/meta/classes/useradd_base.bbclass +++ b/meta/classes/useradd_base.bbclass @@ -104,7 +104,7 @@ perform_groupmems () { sleep $count done else - bbwarn "${PN}: group $groupname already contains $username, not re-adding it" + bbnote "${PN}: group $groupname already contains $username, not re-adding it" fi if test "x$gshadow" = "xno"; then rm -f $rootdir${sysconfdir}/gshadow @@ -136,7 +136,7 @@ perform_groupdel () { sleep $count done else - bbwarn "${PN}: group $groupname doesn't exist, not removing it" + bbnote "${PN}: group $groupname doesn't exist, not removing it" fi } @@ -164,7 +164,7 @@ perform_userdel () { sleep $count done else - bbwarn "${PN}: user $username doesn't exist, not removing it" + bbnote "${PN}: user $username doesn't exist, not removing it" fi } |