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:
parent
fd92142995
commit
f292979302
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue