mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] nfsutils: add Python as runtime dependency
@ 2018-02-09 14:37 Michael Tretter
  2018-02-14 16:49 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tretter @ 2018-02-09 14:37 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Tretter

nfsiostat is a Python script and uses /usr/bin/python as shebang.
Therefore, nfsutils should select Python as a runtime dependency.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 rules/nfsutils.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/nfsutils.in b/rules/nfsutils.in
index c813b4745..68ebfbb1f 100644
--- a/rules/nfsutils.in
+++ b/rules/nfsutils.in
@@ -7,6 +7,8 @@ menuconfig NFSUTILS
 	select UTIL_LINUX_NG
 	select UTIL_LINUX_NG_LIBMOUNT
 	select RPCBIND			if RUNTIME
+	select PYTHON			if RUNTIME
+	select PYTHON_SYMLINK		if RUNTIME
 	select LIBTIRPC			if GLOBAL_IPV6
 	help
 	  The Sun Network Filesystem (NFS) protocol provides transparent remote
-- 
2.15.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] nfsutils: add Python as runtime dependency
  2018-02-09 14:37 [ptxdist] [PATCH] nfsutils: add Python as runtime dependency Michael Tretter
@ 2018-02-14 16:49 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2018-02-14 16:49 UTC (permalink / raw)
  To: ptxdist

On Fri, Feb 09, 2018 at 03:37:49PM +0100, Michael Tretter wrote:
> nfsiostat is a Python script and uses /usr/bin/python as shebang.
> Therefore, nfsutils should select Python as a runtime dependency.
> 
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> ---
>  rules/nfsutils.in | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/rules/nfsutils.in b/rules/nfsutils.in
> index c813b4745..68ebfbb1f 100644
> --- a/rules/nfsutils.in
> +++ b/rules/nfsutils.in
> @@ -7,6 +7,8 @@ menuconfig NFSUTILS
>  	select UTIL_LINUX_NG
>  	select UTIL_LINUX_NG_LIBMOUNT
>  	select RPCBIND			if RUNTIME
> +	select PYTHON			if RUNTIME
> +	select PYTHON_SYMLINK		if RUNTIME

No unconditional dependency. Is nfsiostat actually needed or useful for
embedded devices? Maybe we should just not install it? Or make it optional.

Michael

>  	select LIBTIRPC			if GLOBAL_IPV6
>  	help
>  	  The Sun Network Filesystem (NFS) protocol provides transparent remote
> -- 
> 2.15.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-14 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09 14:37 [ptxdist] [PATCH] nfsutils: add Python as runtime dependency Michael Tretter
2018-02-14 16:49 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox