summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-03-11 18:38:49 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2021-03-15 09:42:21 +0100
commit04086bb25487f8af8ad3c8698ed44bd8e7325b2c (patch)
tree648f9d437898eb4575ac13cd42dc3379b84778e6 /configs/platform-v7a
parentd76424428b270281e0925d98d7a1152e8641d94d (diff)
downloadDistroKit-04086bb25487f8af8ad3c8698ed44bd8e7325b2c.tar.gz
DistroKit-04086bb25487f8af8ad3c8698ed44bd8e7325b2c.tar.xz
unfs3: Fix generation of export list
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 <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a')
-rw-r--r--configs/platform-v7a/scripts/lib/ptxd_make_nfsd.sh2
1 files changed, 1 insertions, 1 deletions
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 "${@}"
}