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

Ross Burton ross.burton at intel.com
Tue Feb 2 12:51:02 UTC 2016


From: Bogdan-Alexandru Voiculescu <bogdanx.a.voiculescu at intel.com>

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, #8971]

Signed-off-by: Bogdan-Alexandru Voiculescu <bogdanx.a.voiculescu at intel.com>
Signed-off-by: Benjamin Esquivel <benjamin.esquivel at linux.intel.com>
Signed-off-by: Ross Burton <ross.burton at 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
-- 
2.6.4




More information about the Openembedded-core mailing list