util-linux: enable libmount for host variant
PATCH 1/2 util-linux: enable libmount for host variant
It's a necessary dependency to build the new host-libglib2. libblkd is an indirect dependency for libmount.
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/util-linux/util-linux.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
package/util-linux/util-linux.mk +5 -4
@@ -117,13 +117,14 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_WRITE),--enable-write,--disable-write) \ $(if $(BR2_PACKAGE_UTIL_LINUX_ZRAMCTL),--enable-zramctl,--disable-zramctl) -# In the host version of util-linux, we so far only require libuuid, -# and none of the util-linux utilities, so we disable all of them, unless -# BR2_PACKAGE_HOST_UTIL_LINUX is set +# In the host version of util-linux, we only require libuuid and +# libmount (plus libblkid as an indirect dependency of libmount). +# So disable all of the programs, unless BR2_PACKAGE_HOST_UTIL_LINUX is set HOST_UTIL_LINUX_CONF_OPTS += \ + --enable-libblkid \ + --enable-libmount \ --enable-libuuid \ - --disable-libblkid --disable-libmount \ --without-ncurses ifeq ($(BR2_PACKAGE_HOST_UTIL_LINUX),y)
Signature · 1 line
2.7.3
PATCH 2/2 libglib2: add host-util-linux for host variant
It's required now, fixes:
http://autobuild.buildroot.net/results/e81/e81f98561867d370115a019284682c0611796978/
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/libglib2/libglib2.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
package/libglib2/libglib2.mk +6 -1
@@ -105,7 +105,12 @@ LIBGLIB2_DEPENDENCIES = \ libffi pcre util-linux zlib $(if $(BR2_NEEDS_GETTEXT),gettext) HOST_LIBGLIB2_DEPENDENCIES = \ - host-gettext host-libffi host-pcre host-pkgconf host-zlib + host-gettext \ + host-libffi \ + host-pcre \ + host-pkgconf \ + host-util-linux \ + host-zlib LIBGLIB2_CONF_OPTS = \ --with-pcre=system
Signature · 1 line
2.7.3
PATCH 1/2 util-linux: enable libmount for host variant
In reply to Gustavo ZacariasHello,
Quoted 7 lines · Gustavo Zacarias
It's a necessary dependency to build the new host-libglib2. libblkd is an indirect dependency for libmount.
Signed-off-by Gustavo Zacarias <[email protected]>--- package/util-linux/util-linux.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
Both patches applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com