Skip to contentSkip to conversation

PATCH - nfs-utils] nfsdctltrack: ensure binary is installed in /sbin

PATCH NeilBrown 2 participants 2 messages Apr 15, 2014 – Apr 30, 2014

Subsystems (2)
lore
Share & tools
lore

NeilBrown

author
#0 lore raw

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

utils/nfsdcltrack/Makefile.am +4 -0
index a860ffb82e2c..7524295f394e 100644
@@ -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)
 
#1 lore raw
Quoted 6 lines · NeilBrown

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

Committed...

steved.

Quoted 16 lines
utils/nfsdcltrack/Makefile.am +4 -0
index a860ffb82e2c..7524295f394e 100644
@@ -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)