From a04add752a82a798b7edf37dbde5759b61ca1167 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Thu, 18 Jun 2020 23:06:23 +0800 Subject: [PATCH] config-files: remvoe the -f option for rpc.mountd The -f option is not supported any more on newer version of nfs-utils. Issue-ID: INF-167 Signed-off-by: Jackie Huang Change-Id: Id7a7ad795b50467147556827ed051e9394436e2d --- .../stx-config-files/config-files_1.0.0.bb | 1 + ...server-remvoe-the-f-option-for-rpc.mountd.patch | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 meta-stx/recipes-core/stx-config-files/files/nfsserver-remvoe-the-f-option-for-rpc.mountd.patch diff --git a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb index 875649d..626e932 100644 --- a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb +++ b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb @@ -51,6 +51,7 @@ SRC_URI = " \ file://syslog-ng-config-systemd-service.patch \ file://syslog-ng-conf-replace-match-with-message.patch \ file://lighttpd-init-script-chroot.patch \ + file://nfsserver-remvoe-the-f-option-for-rpc.mountd.patch \ " do_configure () { diff --git a/meta-stx/recipes-core/stx-config-files/files/nfsserver-remvoe-the-f-option-for-rpc.mountd.patch b/meta-stx/recipes-core/stx-config-files/files/nfsserver-remvoe-the-f-option-for-rpc.mountd.patch new file mode 100644 index 0000000..9a581e6 --- /dev/null +++ b/meta-stx/recipes-core/stx-config-files/files/nfsserver-remvoe-the-f-option-for-rpc.mountd.patch @@ -0,0 +1,28 @@ +From 20359d646c6003b6056aea6cbe81d8b393084de1 Mon Sep 17 00:00:00 2001 +From: Jackie Huang +Date: Thu, 18 Jun 2020 21:42:03 +0800 +Subject: [PATCH] nfsserver: remvoe the -f option for rpc.mountd + +The -f option is not supported any more on newer version of nfs-utils. + +Signed-off-by: Jackie Huang +--- + nfs-utils-config/files/nfsserver | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/nfs-utils-config/files/nfsserver b/nfs-utils-config/files/nfsserver +index 6449537..58642f1 100644 +--- a/nfs-utils-config/files/nfsserver ++++ b/nfs-utils-config/files/nfsserver +@@ -46,7 +46,7 @@ test "$NFS_SERVERS" != "" && test "$NFS_SERVERS" -gt 0 && test "$NFS_SERVERS" -l + #mountd + start_mountd(){ + echo -n 'starting mountd: ' +- start-stop-daemon --start --exec "$NFS_MOUNTD" -- "-f /etc/exports $@" ++ start-stop-daemon --start --exec "$NFS_MOUNTD" + echo done + } + stop_mountd(){ +-- +2.7.4 + -- 2.16.6