summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-03-15 22:42:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-17 14:01:41 +0000
commitd3ffa39e2edcf68583fa85c191f59a54c4722abd (patch)
tree40aef389ba1af84666336b1b56ae0d4f83f4a0d5 /meta/recipes-core/util-linux
parent7d95e81a561e71a7f36ab4b2a1fc85fe8f908705 (diff)
downloadpoky-d3ffa39e2edcf68583fa85c191f59a54c4722abd.tar.gz
util-linux: scanf_cv_alloc_modifier changed from 'as' -> 'ms'
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>
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.24.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.24.1.bb b/meta/recipes-core/util-linux/util-linux_2.24.1.bb
index b08d68df76..aa98b65e40 100644
--- a/meta/recipes-core/util-linux/util-linux_2.24.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.24.1.bb
@@ -17,7 +17,8 @@ SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \
17SRC_URI[md5sum] = "88d46ae23ca599ac5af9cf96b531590f" 17SRC_URI[md5sum] = "88d46ae23ca599ac5af9cf96b531590f"
18SRC_URI[sha256sum] = "835eb6232cfab0118ef2e4fd649de0ba9f5bd1b8cbf9a7d4d84594541dec8410" 18SRC_URI[sha256sum] = "835eb6232cfab0118ef2e4fd649de0ba9f5bd1b8cbf9a7d4d84594541dec8410"
19 19
20CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=as" 20CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
21
21EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \ 22EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \
22 --disable-fallocate --disable-use-tty-group \ 23 --disable-fallocate --disable-use-tty-group \
23" 24"