summaryrefslogtreecommitdiffstats
path: root/bin/ptxdist
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-09-12 09:59:44 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-09-12 10:28:47 +0200
commit5088c1283a382526a63a881b869ac3321d78211e (patch)
tree609e94408d951aa0bc12563f292d7a18a87583e7 /bin/ptxdist
parent023cdbc74b8235740b0cf01b03a994b2f74ea547 (diff)
downloadptxdist-5088c1283a382526a63a881b869ac3321d78211e.tar.gz
ptxdist-5088c1283a382526a63a881b869ac3321d78211e.tar.xz
ptxdist: add command to export the nfsroot with a userspace nfsd
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-xbin/ptxdist5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index b8b5e995c..ff9dfa499 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -876,6 +876,7 @@ Misc:
test <testname> run tests
newpackage <type> create a new package Makefile in a rules dir
use 'newpackage help' for a longer description
+ nfsroot run a userspace NFS server and export the nfsroot
print <var> print the contents of a variable, in the way
it is known by "make"
bash enter a ptxdist environment bash shell
@@ -1800,6 +1801,10 @@ EOF
ptxd_template_new "${1}"
exit
;;
+ nfsroot)
+ ptxd_make_log ptxd_make_nfsd
+ exit
+ ;;
print)
check_config &&
if [ -z "${1}" ]; then