summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-07-28 02:03:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 10:57:23 +0100
commitc0da4270c76375a7a8cbcc09319fe4570ebbc5bd (patch)
tree84533a8bb3f8b7db2694fb871a7695984e0cea90 /meta/classes
parentcfde8621d18967dee71042e02b8d6db5661df3da (diff)
downloadopenembedded-core-c0da4270c76375a7a8cbcc09319fe4570ebbc5bd.tar.gz
openembedded-core-c0da4270c76375a7a8cbcc09319fe4570ebbc5bd.tar.bz2
openembedded-core-c0da4270c76375a7a8cbcc09319fe4570ebbc5bd.zip
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 <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/useradd_base.bbclass4
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 () {
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
}