summaryrefslogtreecommitdiffstats
path: root/rules/nfsutils.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-01-11 11:57:36 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-04-11 11:19:58 +0200
commite5068a95af09dc08bf25b4a8241d3fae473f615a (patch)
tree81b7da652fae6eee22c4380b0cbe9c69d666598d /rules/nfsutils.make
parentd27127994b1cb7e5291780ce4bfc07e665011dcc (diff)
downloadptxdist-e5068a95af09dc08bf25b4a8241d3fae473f615a.tar.gz
ptxdist-e5068a95af09dc08bf25b4a8241d3fae473f615a.tar.xz
nfsutils: /usr merge
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/nfsutils.make')
-rw-r--r--rules/nfsutils.make29
1 files changed, 15 insertions, 14 deletions
diff --git a/rules/nfsutils.make b/rules/nfsutils.make
index 467bcdc60..28d6461bf 100644
--- a/rules/nfsutils.make
+++ b/rules/nfsutils.make
@@ -39,6 +39,7 @@ NFSUTILS_CONF_ENV := \
NFSUTILS_CONF_TOOL := autoconf
NFSUTILS_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
+ --exec-prefix=/usr \
--disable-nfsv4 \
--disable-nfsv41 \
--disable-gss \
@@ -57,7 +58,7 @@ NFSUTILS_CONF_OPT := \
--with-statedir=/var/lib/nfs \
--with-statdpath=/var/lib/nfs \
--with-statduser=rpcuser \
- --with-systemd=/lib/systemd/system \
+ --with-systemd=/usr/lib/systemd/system \
--with-rpcgen=internal \
--without-mountfile \
--without-tcp-wrappers \
@@ -107,8 +108,8 @@ else
endif
ifdef PTXCONF_NFSUTILS_CLIENT
- @$(call install_copy, nfsutils, 0, 0, 0755, -, /sbin/mount.nfs)
- @$(call install_link, nfsutils, mount.nfs, /sbin/umount.nfs)
+ @$(call install_copy, nfsutils, 0, 0, 0755, -, /usr/sbin/mount.nfs)
+ @$(call install_link, nfsutils, mount.nfs, /usr/sbin/umount.nfs)
endif
ifdef PTXCONF_NFSUTILS_SERVER
@@ -137,31 +138,31 @@ endif
ifdef PTXCONF_NFSUTILS_SYSTEMD_UNIT
@$(call install_alternative, nfsutils, 0, 0, 0644, \
- /lib/systemd/system/rpc-statd.service)
+ /usr/lib/systemd/system/rpc-statd.service)
@$(call install_alternative, nfsutils, 0, 0, 0644, \
- /lib/systemd/system/rpc-statd-notify.service)
+ /usr/lib/systemd/system/rpc-statd-notify.service)
@$(call install_alternative, nfsutils, 0, 0, 0644, \
- /lib/systemd/system/var-lib-nfs.mount)
+ /usr/lib/systemd/system/var-lib-nfs.mount)
@$(call install_link, nfsutils, ../var-lib-nfs.mount, \
- /lib/systemd/system/local-fs.target.requires/var-lib-nfs.mount)
+ /usr/lib/systemd/system/local-fs.target.requires/var-lib-nfs.mount)
ifdef PTXCONF_NFSUTILS_CLIENT
@$(call install_alternative, nfsutils, 0, 0, 0644, \
- /lib/systemd/system/nfs-client.target)
+ /usr/lib/systemd/system/nfs-client.target)
@$(call install_link, nfsutils, ../nfs-client.target, \
- /lib/systemd/system/multi-user.target.wants/nfs-client.target)
+ /usr/lib/systemd/system/multi-user.target.wants/nfs-client.target)
@$(call install_link, nfsutils, ../nfs-client.target, \
- /lib/systemd/system/remote-fs.target.wants/nfs-client.target)
+ /usr/lib/systemd/system/remote-fs.target.wants/nfs-client.target)
endif
ifdef PTXCONF_NFSUTILS_SERVER
@$(call install_alternative, nfsutils, 0, 0, 0644, \
- /lib/systemd/system/proc-fs-nfsd.mount)
+ /usr/lib/systemd/system/proc-fs-nfsd.mount)
@$(call install_alternative, nfsutils, 0, 0, 0644, \
- /lib/systemd/system/nfs-mountd.service)
+ /usr/lib/systemd/system/nfs-mountd.service)
@$(call install_alternative, nfsutils, 0, 0, 0644, \
- /lib/systemd/system/nfs-server.service)
+ /usr/lib/systemd/system/nfs-server.service)
@$(call install_link, nfsutils, ../nfs-server.service, \
- /lib/systemd/system/multi-user.target.wants/nfs-server.service)
+ /usr/lib/systemd/system/multi-user.target.wants/nfs-server.service)
endif
endif
@$(call install_finish, nfsutils)