From 04086bb25487f8af8ad3c8698ed44bd8e7325b2c Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Thu, 11 Mar 2021 18:38:49 +0100 Subject: unfs3: Fix generation of export list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this change the content of the export list is by default: / (rw,no_root_squash),insecure which is wrong. The closing parenthesis must be after the insecure keyword. It seems I'm the first user of unfs3 in the v7a platform since 2016. Fixes: c17c88e05a88 ("platform: beaglebone: nfs: add insecure option") Signed-off-by: Uwe Kleine-König --- configs/platform-v7a/scripts/lib/ptxd_make_nfsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/platform-v7a/scripts/lib/ptxd_make_nfsd.sh b/configs/platform-v7a/scripts/lib/ptxd_make_nfsd.sh index 5a95628..58f100d 100644 --- a/configs/platform-v7a/scripts/lib/ptxd_make_nfsd.sh +++ b/configs/platform-v7a/scripts/lib/ptxd_make_nfsd.sh @@ -25,7 +25,7 @@ ptxd_make_nfsd_exec() { echo #insecure for qemu with -net user - client_specifications="${client_specifications},insecure" + client_specifications="${client_specifications%)},insecure)" echo "/ ${client_specifications}" > "${PTXDIST_TEMPDIR}/exports" && UNFS_BASE="${base}" unfsd -e "${PTXDIST_TEMPDIR}/exports" -n ${port} -m ${port} -p -d "${@}" } -- cgit v1.2.3