buildroot/package/util-linux
Thomas Petazzoni a8da3cd61a util-linux: libblkid needs fork(), disable on !MMU
The libblkid library in util-linux uses fork. While it seems
potentially possible to disable the parts of the library that use fork
(the only parts using fork are parts related to LVM and Device Mapper,
which are said to be legacy as they are replaced by sysfs based
scanning, instead of having to fork to run a separate process).

However, since libblkid is used by:

 - e2fsprogs, which uses lots of fork all over the place
 - udev, which most likely will also need fork

There is not much point in making libblkid fork-less. As a
consequence, this commit makes util-linux/libblkid unavailable on
non-MMU architectures, and propagates the relevant dependency to the
reverse dependencies of libblkid.

This fixes the e2fsprogs build failure seen on Blackfin. The failure
was due to a configure test of e2fsprogs which was trying to link a
small test program against libblkid, which failed because there was an
undefined reference to fork() in the libblkid code.

Fixes:

  http://autobuild.buildroot.net/results/ee2c1568d16ac040011dd4d6d8b543ff9e9e2622/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-24 09:01:05 +01:00
..
Config.in util-linux: libblkid needs fork(), disable on !MMU 2014-02-24 09:01:05 +01:00
Config.in.host package/util-linux: add a host variant 2014-02-04 11:22:08 +01:00
login.pam util-linux: install PAM configuration files 2013-12-03 09:05:10 +01:00
su.pam util-linux: install PAM configuration files 2013-12-03 09:05:10 +01:00
util-linux-001-sscanf-no-ms-as.patch util-linux: tweak sscanf-no-ms-as patch 2013-11-28 17:25:47 +01:00
util-linux-002-support-older-machines.patch util-linux: fix build failure with older systems 2013-09-09 11:41:33 +02:00
util-linux-003-program-invocation-short-name.patch util-linux: fix build failure with older systems 2013-09-09 11:41:33 +02:00
util-linux.mk Revert "util-linux: add nsenter option" 2014-02-08 22:44:05 +01:00