diff options
author | Bogdan-Alexandru Voiculescu <bogdanx.a.voiculescu@intel.com> | 2015-11-25 11:18:13 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:32:12 +0000 |
commit | 55614076fbfd267d81ab8110a4f5c30779ac6f76 (patch) | |
tree | 8f4f0e3c9f08d03aabffd4918f7600cdf84872bb | |
parent | 533fc01da4f2d8a36a33ff65e3dede1b89d66db5 (diff) | |
download | poky-55614076fbfd267d81ab8110a4f5c30779ac6f76.tar.gz |
uClibc: enable utmp for shadow compatibility
with the enabling of utmpx in busybox and uClibc it was noted that shadow
support for utmpx also needs utmp explicitly enabled in uclibc. this is
a workaround that might be removed once shadow properly supports
--enable-utmpx to check for utmpx configuration instead of utmp like
it does now
[YOCTO #8243]
(From OE-Core rev: 969158d63ba2c8e2e11af41c2a6d4f1aa5b0099f)
Signed-off-by: Bogdan-Alexandru Voiculescu <bogdanx.a.voiculescu@intel.com>
Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/uClibc.distro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/uClibc.distro b/meta/recipes-core/uclibc/uclibc-git/uClibc.distro index 6575482b34..3827b66e9e 100644 --- a/meta/recipes-core/uclibc/uclibc-git/uClibc.distro +++ b/meta/recipes-core/uclibc/uclibc-git/uClibc.distro | |||
@@ -182,6 +182,8 @@ UCLIBC_HAS_FLOATS=y | |||
182 | 182 | ||
183 | # COMPILE_IN_THUMB_MODE is not set | 183 | # COMPILE_IN_THUMB_MODE is not set |
184 | 184 | ||
185 | # needed by shadow | ||
186 | UCLIBC_HAS_UTMP=y | ||
185 | # needed by systemd | 187 | # needed by systemd |
186 | UCLIBC_HAS_UTMPX=y | 188 | UCLIBC_HAS_UTMPX=y |
187 | UCLIBC_LINUX_MODULE_26=y | 189 | UCLIBC_LINUX_MODULE_26=y |