[PATCH] nfs-utils 1.2.6: fix osd_login installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Also worth noting that the NEWS file in nfs-utils is obsolete, and the
README file has the wrong version number in it.)

Installing osd_login would fail if $DESTDIR/sbin didn't exist. Get
automake to do the installation, which'll fix this as a side-effect.

diff -x config.log -x config.status -ru tmp/nfs-utils-1.2.6/utils/osd_login/Makefile.am work/nfs-utils-1.2.6/utils/osd_login/Makefile.am
--- tmp/nfs-utils-1.2.6/utils/osd_login/Makefile.am	2012-05-14 15:40:52.000000000 +0100
+++ work/nfs-utils-1.2.6/utils/osd_login/Makefile.am	2012-05-26 22:25:17.890001662 +0100
@@ -1,12 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
-OSD_LOGIN_FILES= osd_login
+rootsbindir = /sbin
 
-EXTRA_DIST= $(OSD_LOGIN_FILES)
-
-all-local: $(OSD_LOGIN_FILES)
-
-install-data-hook:
-	$(INSTALL) --mode 755 osd_login $(DESTDIR)/sbin/osd_login
+rootsbin_SCRIPTS = osd_login
 
 MAINTAINERCLEANFILES = Makefile.in

-- 
Adam Sampson <ats@xxxxxxxxx>                         <http://offog.org/>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux