mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 20:53:03 +01:00
This patch actually makes sense for uclibc more than glibc since if we did not cache scanf_cv_alloc_modifier configure test will determine it correctly for glibc but the test does not do proper job when uclibc is involved the reason is it depends on define __GLIBC_ and uclibc unfortunately poses as glibc and defines this variable. %m is implemented in uclibc as well and we enable it so caching value of 'ms' specifier is going to work across all libcs This fixes mounting errors we see with util-linux/mount on uclibc/systemd Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: /proc/self/mountinfo: parse error: ignore entry at line 21. Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: /proc/self/mountinfo: parse error: ignore entry at line 22. Mar 16 01:46:40 qemux86 systemd-remount-fs[124]: /bin/mount: can't find / in /etc/fstab (From OE-Core rev: 0e5a1a23089c732da5c1900886360199cfe23cf9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
990 B
BlitzBasic
28 lines
990 B
BlitzBasic
MAJOR_VERSION = "2.24"
|
|
require util-linux.inc
|
|
|
|
# To support older hosts, we need to patch and/or revert
|
|
# some upstream changes. Only do this for native packages.
|
|
OLDHOST = ""
|
|
OLDHOST_class-native = "file://util-linux-native.patch"
|
|
|
|
SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \
|
|
file://util-linux-ng-2.16-mount_lock_path.patch \
|
|
file://uclibc-__progname-conflict.patch \
|
|
file://configure-sbindir.patch \
|
|
file://fix-configure.patch \
|
|
${OLDHOST} \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "88d46ae23ca599ac5af9cf96b531590f"
|
|
SRC_URI[sha256sum] = "835eb6232cfab0118ef2e4fd649de0ba9f5bd1b8cbf9a7d4d84594541dec8410"
|
|
|
|
CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
|
|
|
|
EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \
|
|
--disable-fallocate --disable-use-tty-group \
|
|
"
|
|
EXTRA_OECONF_class-nativesdk = "${SHARED_EXTRA_OECONF} \
|
|
--disable-fallocate --disable-use-tty-group \
|
|
"
|