]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Dec 2015 21:31:02 +0000 (21:31 +0000)
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]

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>
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