]> code.ossystems Code Review - openembedded-core.git/commit
util-linux: scanf_cv_alloc_modifier changed from 'as' -> 'ms'
authorKhem Raj <raj.khem@gmail.com>
Sun, 16 Mar 2014 05:42:30 +0000 (22:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Mar 2014 14:01:06 +0000 (14:01 +0000)
commit0e5a1a23089c732da5c1900886360199cfe23cf9
tree7ad7d670929e20e432ddb5fa0797d2628dfbbd88
parent7897ab5f54d2dc21795b2a53b82b9c911157f0ca
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/util-linux/util-linux_2.24.1.bb