[OE-core] [PATCH] uClibc: enable utmp for shadow compatibility

Bogdan-Alexandru Voiculescu bogdanx.a.voiculescu at intel.com
Wed Nov 25 09:18:13 UTC 2015


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 at intel.com>
Signed-off-by: Benjamin Esquivel <benjamin.esquivel at linux.intel.com>
---
 meta/recipes-core/uclibc/uclibc-git/uClibc.distro | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/uclibc/uclibc-git/uClibc.distro b/meta/recipes-core/uclibc/uclibc-git/uClibc.distro
index 6575482..3827b66 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
 
 # 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
-- 
1.9.1




More information about the Openembedded-core mailing list