summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2019-11-22 09:15:34 -0500
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-11-24 13:37:30 +0100
commitdc453abfca0001b577a888009998233d80615788 (patch)
treebb513a7f400b90f309d26ff0e81cbd326b15e281 /config
parentcad6700ee9a7290c4314a0d6f2c17f52f73c1317 (diff)
downloadptxdist-dc453abfca0001b577a888009998233d80615788.tar.gz
ptxdist-dc453abfca0001b577a888009998233d80615788.tar.xz
config: boardsetup: add nfs client specifications
This patch adds additional client specifications for the nfsroot mount. The default value is the same as it was hardcoded before. This offers to change this line without maintaining the whole file in a separate BSP. The client specifications is part of the official export format which is set right after the directory which is exported, for more information lookup: https://linux.die.net/man/8/unfsd Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'config')
-rw-r--r--config/boardsetup/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/boardsetup/Kconfig b/config/boardsetup/Kconfig
index 8ffa27224..2d3791807 100644
--- a/config/boardsetup/Kconfig
+++ b/config/boardsetup/Kconfig
@@ -39,6 +39,23 @@ config BOARDSETUP_NFSROOT_PATH
above given path is exported by nfs server. This field will be ignored
if you don't use nfsroot.
+config BOARDSETUP_NFSROOT_CLIENT_SPECIFICATIONS
+ string
+ prompt "nfsroot client specifications"
+ default "(rw,no_root_squash)"
+ help
+ Specify the list of client specifications for the nfsroot export.
+ Example: "1.2.3.4(rw) 192.168.2.0/24(ro,all_squash)"
+
+ Clients can be specified using either a hostname, an IP address, or an IP
+ network. Networks can be given by specifying the number of leading 1 bits
+ in the netmask or by giving the full netmask. If the hostname is empty, the
+ directory is exported to everyone.
+
+ Options can follow a client specification and have to be enclosed in
+ parenthesis, with the opening paren directly following the client name or
+ address. If no options are given, ro and root_squash are enabled by default.
+
config BOARDSETUP_TFTP_PATH
string
prompt "tftp path"