summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-mountd.service1
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-server.service1
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb2
3 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-mountd.service b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-mountd.service
index 613ddc003a..28b7388f67 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-mountd.service
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-mountd.service
@@ -2,6 +2,7 @@
2Description=NFS Mount Daemon 2Description=NFS Mount Daemon
3After=rpcbind.service nfs-server.service 3After=rpcbind.service nfs-server.service
4Requires=rpcbind.service nfs-server.service 4Requires=rpcbind.service nfs-server.service
5ConditionPathExists=@SYSCONFDIR@/exports
5 6
6[Service] 7[Service]
7EnvironmentFile=-@SYSCONFDIR@/nfs-utils.conf 8EnvironmentFile=-@SYSCONFDIR@/nfs-utils.conf
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-server.service b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-server.service
index 147d7a7b5f..b9dfe74273 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-server.service
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-server.service
@@ -2,6 +2,7 @@
2Description=NFS Server 2Description=NFS Server
3Requires=rpcbind.service nfs-mountd.service 3Requires=rpcbind.service nfs-mountd.service
4After=rpcbind.service 4After=rpcbind.service
5ConditionPathExists=@SYSCONFDIR@/exports
5 6
6[Service] 7[Service]
7Type=oneshot 8Type=oneshot
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb
index 4d6d8080f4..d4b401efa0 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.4.bb
@@ -48,9 +48,9 @@ INITSCRIPT_PARAMS_${PN}-client = "defaults 19 21"
48 48
49inherit autotools-brokensep update-rc.d systemd pkgconfig 49inherit autotools-brokensep update-rc.d systemd pkgconfig
50 50
51SYSTEMD_PACKAGES = "${PN} ${PN}-client"
51SYSTEMD_SERVICE_${PN} = "nfs-server.service nfs-mountd.service" 52SYSTEMD_SERVICE_${PN} = "nfs-server.service nfs-mountd.service"
52SYSTEMD_SERVICE_${PN}-client = "nfs-statd.service" 53SYSTEMD_SERVICE_${PN}-client = "nfs-statd.service"
53SYSTEMD_AUTO_ENABLE = "disable"
54 54
55# --enable-uuid is need for cross-compiling 55# --enable-uuid is need for cross-compiling
56EXTRA_OECONF = "--with-statduser=rpcuser \ 56EXTRA_OECONF = "--with-statduser=rpcuser \