File mkdir-sbin of Package nfs-utils

commit 03bb227402ab023f4badb515022d49f82e01ff8d
Author: Neil Brown <>
Date:   Thu May 17 16:40:40 2012 +1000

    osd_login - ensure /sbin is created before installation.
    If we use a more standard approach to describing the osd_login
    script, the automake infrastructure will create /sbin before
    attempting installation.
    This is important for: make DESTDIR=/empty-dir install
    Signed-off-by: NeilBrown <>

diff --git a/utils/osd_login/ b/utils/osd_login/
index adc493a..d17ffa7 100644
--- a/utils/osd_login/
+++ b/utils/osd_login/
@@ -1,12 +1,9 @@
 ## Process this file with automake to produce
-OSD_LOGIN_FILES= osd_login
+# These binaries go in /sbin (not /usr/sbin), and that cannot be
+# overriden at config time.
+sbindir = /sbin
-all-local: $(OSD_LOGIN_FILES)
-	$(INSTALL) --mode 755 osd_login $(DESTDIR)/sbin/osd_login
+sbin_SCRIPTS = osd_login
openSUSE Build Service is sponsored by