]> code.ossystems Code Review - openembedded-core.git/commitdiff
uClibc: enable utmp for shadow compatibility
authorBogdan-Alexandru Voiculescu <bogdanx.a.voiculescu@intel.com>
Wed, 25 Nov 2015 09:18:13 +0000 (11:18 +0200)
committerSaul Wold <sgw@linux.intel.com>
Tue, 2 Feb 2016 16:03:43 +0000 (08:03 -0800)
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]
[YOCTO #8971]

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>
(cherry picked from commit 969158d63ba2c8e2e11af41c2a6d4f1aa5b0099f)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/uclibc/uclibc-git/uClibc.distro

index 6575482b34351b8807993f71cfe8fd045a017b60..3827b66e9e8a9fd903aa457290890c2630d0f3ad 100644 (file)
@@ -182,6 +182,8 @@ UCLIBC_HAS_FLOATS=y
 
 # COMPILE_IN_THUMB_MODE is not set
 
+# needed by shadow
+UCLIBC_HAS_UTMP=y
 # needed by systemd
 UCLIBC_HAS_UTMPX=y
 UCLIBC_LINUX_MODULE_26=y