diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-06-06 14:11:16 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-25 17:44:51 +0100 |
commit | 3d230db5c46c9f535a7fa478e1fe07be76f69f56 (patch) | |
tree | 6419b3218568ade012a16d85a0e616f1bee9769a | |
parent | 726483741a69861a2b4adc3186a39de227a353a1 (diff) | |
download | poky-3d230db5c46c9f535a7fa478e1fe07be76f69f56.tar.gz |
busybox: add a config fragment to enable login utilities
Create a config fragment to enable the login/passwd utilities of busybox.
[YOCTO #4207]
(From OE-Core rev: 2a37490d4d55a1a6e4c4d268231a9d8904d38f8b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/busybox/busybox-1.20.2/login-utilities.cfg | 13 | ||||
-rw-r--r-- | meta/recipes-core/busybox/busybox_1.20.2.bb | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.20.2/login-utilities.cfg b/meta/recipes-core/busybox/busybox-1.20.2/login-utilities.cfg new file mode 100644 index 0000000000..cc9b2db502 --- /dev/null +++ b/meta/recipes-core/busybox/busybox-1.20.2/login-utilities.cfg | |||
@@ -0,0 +1,13 @@ | |||
1 | CONFIG_FEATURE_SHADOWPASSWDS=y | ||
2 | CONFIG_ADDUSER=y | ||
3 | CONFIG_FEATURE_ADDUSER_LONG_OPTIONS=y | ||
4 | CONFIG_ADDGROUP=y | ||
5 | CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS=y | ||
6 | CONFIG_DELUSER=y | ||
7 | CONFIG_DELGROUP=y | ||
8 | CONFIG_GETTY=y | ||
9 | CONFIG_LOGIN=y | ||
10 | CONFIG_PASSWD=y | ||
11 | CONFIG_SU=y | ||
12 | CONFIG_SULOGIN=y | ||
13 | CONFIG_VLOCK=y | ||
diff --git a/meta/recipes-core/busybox/busybox_1.20.2.bb b/meta/recipes-core/busybox/busybox_1.20.2.bb index 07d722d722..3ff8a88958 100644 --- a/meta/recipes-core/busybox/busybox_1.20.2.bb +++ b/meta/recipes-core/busybox/busybox_1.20.2.bb | |||
@@ -35,7 +35,8 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ | |||
35 | file://fail_on_no_media.patch \ | 35 | file://fail_on_no_media.patch \ |
36 | file://busybox-sulogin-empty-root-password.patch \ | 36 | file://busybox-sulogin-empty-root-password.patch \ |
37 | file://inetd.conf \ | 37 | file://inetd.conf \ |
38 | file://inetd" | 38 | file://inetd \ |
39 | file://login-utilities.cfg" | ||
39 | 40 | ||
40 | SRC_URI[tarball.md5sum] = "e025414bc6cd79579cc7a32a45d3ae1c" | 41 | SRC_URI[tarball.md5sum] = "e025414bc6cd79579cc7a32a45d3ae1c" |
41 | SRC_URI[tarball.sha256sum] = "eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882" | 42 | SRC_URI[tarball.sha256sum] = "eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882" |