]> code.ossystems Code Review - openembedded-core.git/commit
useradd-staticids.bbclass: Allow missing UIDs/GIDs to generate warnings
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 17 Jun 2016 14:59:02 +0000 (16:59 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 29 Jun 2016 18:34:46 +0000 (19:34 +0100)
commit5a37852e4ab3a7438cab372b288663535ecdfee1
tree237bc0ebad4326ac83267977b5ed484991dace0e
parentb64316f34a45dcf7a31e0486e51799fcd6b0ed2d
useradd-staticids.bbclass: Allow missing UIDs/GIDs to generate warnings

Previously when USERADD_ERROR_DYNAMIC was set to "1", an exception was
raised if no numeric UID/GID could be determined for a user/group. Now
it is possible to set it to either "error", which results in the old
behavior, or "warn" in which case a warning is issued instead.

For backwards compatibility reasons, it is still possible to set
USERADD_ERROR_DYNAMIC to "1" and get an exception in case of failure.

(From OE-Core rev: 58c82f79efee8e68fa63b96a32f54660afb15769)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3037e0df9b1a0e1cb5332ab8026245b61515fc33)
Signed-off-by: Armin Kuster <akuster@mvista.com>
meta/classes/useradd-staticids.bbclass
meta/conf/documentation.conf