On 3 September 2015 at 18:54, Khem Raj <raj.k...@gmail.com> wrote: > This makes busybox honor UTMPX feature if available in a libc > > [YOCTO #8243] > > Signed-off-by: Khem Raj <raj.k...@gmail.com> > --- > .../busybox/0001-Switch-to-POSIX-utmpx-API.patch | 388 > +++++++++++++++++++++ > meta/recipes-core/busybox/busybox_1.23.2.bb | 1 + > 2 files changed, 389 insertions(+) > create mode 100644 > meta/recipes-core/busybox/busybox/0001-Switch-to-POSIX-utmpx-API.patch > > diff --git > a/meta/recipes-core/busybox/busybox/0001-Switch-to-POSIX-utmpx-API.patch > b/meta/recipes-core/busybox/busybox/0001-Switch-to-POSIX-utmpx-API.patch > new file mode 100644 > index 0000000..1d299ee > --- /dev/null > +++ b/meta/recipes-core/busybox/busybox/0001-Switch-to-POSIX-utmpx-API.patch > @@ -0,0 +1,388 @@ > +From 86a7f18f211af1abda5c855d2674b0fcb53de524 Mon Sep 17 00:00:00 2001 > +From: Bernhard Reutner-Fischer <rep.dot....@gmail.com> > +Date: Thu, 2 Apr 2015 23:03:46 +0200 > +Subject: [PATCH] *: Switch to POSIX utmpx API > + > +UTMP is SVID legacy, UTMPX is mandated by POSIX. > + > +Glibc and uClibc have identical layout of UTMP and UTMPX, both of these > +libc treat _PATH_UTMPX as _PATH_UTMP so from a user-perspective nothing > +changes except the names of the API entrypoints.
Ontop of this you might also need http://git.busybox.net/busybox/commit/?id=7d86384b246434e72533332f7f409a7aa9efeacb unless you can guarantee a uClibc rebuild with utmpx support enabled at the same time. Thanks and cheers, -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core