diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-08-30 10:31:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-30 16:23:46 +0100 |
commit | abfe9af9e5b93da225f05d114213a5ca90b8ad4f (patch) | |
tree | de0ebc3069f42ca0ccc408581add77c61a76e64d | |
parent | e38285f8f1a3d275107eb3c56dc729865d83dcdf (diff) | |
download | poky-abfe9af9e5b93da225f05d114213a5ca90b8ad4f.tar.gz |
busybox: configure system user id to range from 100 to 999
Previously, the range was 0 to 0. This made it impossible to use
busybox's adduser utility to add a system user. The following error
would appear.
adduser: no uids left
This patch fixes this problem by giving it a reasonable range.
(From OE-Core rev: c4555007d04ccacbc192827b70a97f9a48500a22)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/busybox/busybox-1.21.1/defconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.21.1/defconfig b/meta/recipes-core/busybox/busybox-1.21.1/defconfig index e287a0dc4f..4526121a44 100644 --- a/meta/recipes-core/busybox/busybox-1.21.1/defconfig +++ b/meta/recipes-core/busybox/busybox-1.21.1/defconfig | |||
@@ -457,8 +457,8 @@ CONFIG_USE_BB_CRYPT=y | |||
457 | # CONFIG_ADDUSER is not set | 457 | # CONFIG_ADDUSER is not set |
458 | # CONFIG_FEATURE_ADDUSER_LONG_OPTIONS is not set | 458 | # CONFIG_FEATURE_ADDUSER_LONG_OPTIONS is not set |
459 | # CONFIG_FEATURE_CHECK_NAMES is not set | 459 | # CONFIG_FEATURE_CHECK_NAMES is not set |
460 | CONFIG_FIRST_SYSTEM_ID=0 | 460 | CONFIG_FIRST_SYSTEM_ID=100 |
461 | CONFIG_LAST_SYSTEM_ID=0 | 461 | CONFIG_LAST_SYSTEM_ID=999 |
462 | # CONFIG_ADDGROUP is not set | 462 | # CONFIG_ADDGROUP is not set |
463 | # CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS is not set | 463 | # CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS is not set |
464 | # CONFIG_FEATURE_ADDUSER_TO_GROUP is not set | 464 | # CONFIG_FEATURE_ADDUSER_TO_GROUP is not set |