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>
This commit is contained in:
Robert Yang 2015-07-28 02:03:33 -07:00 committed by Richard Purdie
parent fd92142995
commit f292979302
1 changed files with 2 additions and 2 deletions

View File

@ -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
}