diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-09-26 09:29:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-08 19:54:22 +0000 |
commit | 9113928cea88c2187e8640ac489671cb81f58103 (patch) | |
tree | f140d622f55730bd4ca6deeac4c5e44871be59dd /scripts/lib/devtool/build_sdk.py | |
parent | 4fde0110321b04d1f3418f05e61a2eb0b3ec8625 (diff) | |
download | openembedded-core-9113928cea88c2187e8640ac489671cb81f58103.tar.gz openembedded-core-9113928cea88c2187e8640ac489671cb81f58103.tar.bz2 openembedded-core-9113928cea88c2187e8640ac489671cb81f58103.zip |
useradd-staticids: skip recipes without static IDs
When enabling useradd-staticids.bbclass, one has to define static IDs
for all recipes in a world build, otherwise those without static IDs
generate parse errors or warnings, depending on USERADD_ERROR_DYNAMIC.
Defining unused IDs is a lot of work and clutters the passwd/group
file of a distro.
Distros which want to avoid this can now set USERADD_ERROR_DYNAMIC =
"skip" and recipes which would have triggered a message then silently
get disabled. Only trying to build them shows the error message:
$ bitbake apt
...
ERROR: Nothing PROVIDES 'apt'
ERROR: apt was skipped: apt - apt: username _apt does not have a static ID defined.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/build_sdk.py')
0 files changed, 0 insertions, 0 deletions