e2fsprogs: do not use ldconfig when building the host variant
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 31 Aug 2018 21:12:39 +0000 (23:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 9 Sep 2018 13:21:59 +0000 (15:21 +0200)
commit64d4b3407376f9fc8bed1934a2c49ecd5d8838fb
tree42c58a462b08b03102b0c68d4eeba247262aa9e9
parentc4190ef068118ffa5fc307d84ad9f9d5c1d1943a
e2fsprogs: do not use ldconfig when building the host variant

Since commit 93acaa5a573865afc7a8c0912a7037965eb845a6 ("e2fsprogs:
build shared library for the host"), we are building shared libraries
in host-e2fsprogs instead of static libraries. A consequence of this
is that the e2fsprogs build system tries to run ldconfig on the host,
which fails when running as non-root:

/usr/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[3]: [Makefile:441: install-shlibs] Error 1 (ignored)

Tell the configure script to use "true" as ldconfig in order to avoid
this problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/e2fsprogs/e2fsprogs.mk