2014-04-15 07:54:33

by NeilBrown

[permalink] [raw]
Subject: PATCH - nfs-utils] nfsdctltrack: ensure binary is installed in /sbin


The kernel "knows" this lives in /sbin, so just like
mount.nfs and osd_login, it must unconditionally be installed
there.

Signed-off-by: NeilBrown <[email protected]>

diff --git a/utils/nfsdcltrack/Makefile.am b/utils/nfsdcltrack/Makefile.am
index a860ffb82e2c..7524295f394e 100644
--- a/utils/nfsdcltrack/Makefile.am
+++ b/utils/nfsdcltrack/Makefile.am
@@ -1,5 +1,9 @@
## Process this file with automake to produce Makefile.in

+# These binaries go in /sbin (not /usr/sbin), and that cannot be
+# overridden at config time. The kernel "knows" the /sbin name.
+sbindir = /sbin
+
man8_MANS = nfsdcltrack.man
EXTRA_DIST = $(man8_MANS)


Attachments:
signature.asc (828.00 B)

2014-04-30 17:16:19

by Steve Dickson

[permalink] [raw]
Subject: Re: PATCH - nfs-utils] nfsdctltrack: ensure binary is installed in /sbin



On 04/15/2014 03:54 AM, NeilBrown wrote:
>
> The kernel "knows" this lives in /sbin, so just like
> mount.nfs and osd_login, it must unconditionally be installed
> there.
>
> Signed-off-by: NeilBrown <[email protected]>
Committed...

steved.

>
> diff --git a/utils/nfsdcltrack/Makefile.am b/utils/nfsdcltrack/Makefile.am
> index a860ffb82e2c..7524295f394e 100644
> --- a/utils/nfsdcltrack/Makefile.am
> +++ b/utils/nfsdcltrack/Makefile.am
> @@ -1,5 +1,9 @@
> ## Process this file with automake to produce Makefile.in
>
> +# These binaries go in /sbin (not /usr/sbin), and that cannot be
> +# overridden at config time. The kernel "knows" the /sbin name.
> +sbindir = /sbin
> +
> man8_MANS = nfsdcltrack.man
> EXTRA_DIST = $(man8_MANS)
>
>