From e632cdb03187f052d990dbae71fef73a9a70c864 Mon Sep 17 00:00:00 2001 From: Bogdan-Alexandru Voiculescu Date: Wed, 25 Nov 2015 11:18:13 +0200 Subject: [PATCH] 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] [YOCTO #8971] (From OE-Core rev: 05cab660ea956aabf6e6f971bdc5c9e2d94b9f2d) Signed-off-by: Bogdan-Alexandru Voiculescu Signed-off-by: Benjamin Esquivel Signed-off-by: Ross Burton (cherry picked from commit 969158d63ba2c8e2e11af41c2a6d4f1aa5b0099f) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- 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 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 # 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