package/nfs-utils: needs uuid
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 16 Jul 2021 21:01:06 +0000 (23:01 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 18 Jul 2021 10:15:46 +0000 (12:15 +0200)
Build of nfs-utils without uuid is broken since bump to version 2.5.4 in
commit 0ce30de72fb303768c5865949b8ce9260d0c43f5: the --enable-uuid
option is now ill-named, it now only checks for libblkid:
    http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=c5528f40f9db5061e06dcf1f9b7fce5185b376c6

Cleaning this up is upstream's role, though.

Fixes:
 - http://autobuild.buildroot.org/results/510b3425943f2e31b024c99b3552419a80c2f9f3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/nfs-utils/Config.in
package/nfs-utils/nfs-utils.mk

index b736f6c973f9deb4cfe37ad484ad7b1e07f6ee4c..bd1e091331756e535c12e70e5940a17fc8423ab4 100644 (file)
@@ -7,6 +7,8 @@ config BR2_PACKAGE_NFS_UTILS
        depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
        depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_LIBTIRPC # IPv6 requires libtirpc
+       select BR2_PACKAGE_UTIL_LINUX
+       select BR2_PACKAGE_UTIL_LINUX_LIBUUID
        help
          The NFS Linux kernel server.
 
index 51a35028e2eafb5ae2c6c2bef717554f2cc9d3aa..0b4bca47727c39b1adc6b9c3b6d570bde9f40b60 100644 (file)
@@ -9,7 +9,7 @@ NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.xz
 NFS_UTILS_SITE = https://www.kernel.org/pub/linux/utils/nfs-utils/$(NFS_UTILS_VERSION)
 NFS_UTILS_LICENSE = GPL-2.0+
 NFS_UTILS_LICENSE_FILES = COPYING
-NFS_UTILS_DEPENDENCIES = host-nfs-utils host-pkgconf libtirpc
+NFS_UTILS_DEPENDENCIES = host-nfs-utils host-pkgconf libtirpc util-linux
 NFS_UTILS_CPE_ID_VENDOR = linux-nfs
 NFS_UTILS_AUTORECONF = YES
 
@@ -59,9 +59,8 @@ else
 NFS_UTILS_CONF_OPTS += --disable-caps
 endif
 
-ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID)$(BR2_PACKAGE_UTIL_LINUX_LIBUUID),yy)
+ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y)
 NFS_UTILS_CONF_OPTS += --enable-uuid
-NFS_UTILS_DEPENDENCIES += util-linux
 else
 NFS_UTILS_CONF_OPTS += --disable-uuid
 endif