diff mbox series

package/nfs-utils: select BR2_PACKAGE_RPCBIND only if needed

Message ID 20201116114033.844188-1-angelo@amarulasolutions.com
State Accepted
Headers show
Series package/nfs-utils: select BR2_PACKAGE_RPCBIND only if needed | expand

Commit Message

Angelo Compagnucci Nov. 16, 2020, 11:40 a.m. UTC
rpcbind is only used by nfsd to export nfs share supporting older
v2, v3 protocols.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
 package/nfs-utils/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Yann E. MORIN Jan. 3, 2021, 11:43 a.m. UTC | #1
Angelo, All,

On 2020-11-16 12:40 +0100, Angelo Compagnucci spake thusly:
> rpcbind is only used by nfsd to export nfs share supporting older
> v2, v3 protocols.
> 
> Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
> ---
>  package/nfs-utils/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
> index cfca034019..36d799486a 100644
> --- a/package/nfs-utils/Config.in
> +++ b/package/nfs-utils/Config.in
> @@ -7,7 +7,7 @@ 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_RPCBIND # runtime
> +	select BR2_PACKAGE_RPCBIND if BR2_PACKAGE_NFS_UTILS_RPC_NFSD # runtime# runtime

Then why is the select not moved to the BR2_PACKAGE_NFS_UTILS_RPC_NFSD
symbol itself?

Also, duplicated comment...

Applied to master with the above fixed, thanks.

Regards,
Yann E. MORIN.

>  	help
>  	  The NFS Linux kernel server.
>  
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Peter Korsgaard Jan. 5, 2021, 10:28 p.m. UTC | #2
>>>>> "Angelo" == Angelo Compagnucci <angelo@amarulasolutions.com> writes:

 > rpcbind is only used by nfsd to export nfs share supporting older
 > v2, v3 protocols.

 > Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>

Committed to 2020.02.x and 2020.11.x, thanks.
diff mbox series

Patch

diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
index cfca034019..36d799486a 100644
--- a/package/nfs-utils/Config.in
+++ b/package/nfs-utils/Config.in
@@ -7,7 +7,7 @@  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_RPCBIND # runtime
+	select BR2_PACKAGE_RPCBIND if BR2_PACKAGE_NFS_UTILS_RPC_NFSD # runtime# runtime
 	help
 	  The NFS Linux kernel server.