summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index ccc557f308..5907390573 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1022,7 +1022,11 @@ class BaseConfig(object):
1022 # Use '%s' since they are integers 1022 # Use '%s' since they are integers
1023 os.putenv(k, '%s' % v) 1023 os.putenv(k, '%s' % v)
1024 1024
1025 self.unfs_opts="nfsvers=3,port=%s,tcp,mountport=%s" % (nfsd_port, mountd_port) 1025 qb_nfsrootfs_extra_opt = self.get("QB_NFSROOTFS_EXTRA_OPT")
1026 if qb_nfsrootfs_extra_opt and not qb_nfsrootfs_extra_opt.startswith(","):
1027 qb_nfsrootfs_extra_opt = "," + qb_nfsrootfs_extra_opt
1028
1029 self.unfs_opts="nfsvers=3,port=%s,tcp,mountport=%s%s" % (nfsd_port, mountd_port, qb_nfsrootfs_extra_opt)
1026 1030
1027 # Extract .tar.bz2 or .tar.bz if no nfs dir 1031 # Extract .tar.bz2 or .tar.bz if no nfs dir
1028 if not (self.rootfs and os.path.isdir(self.rootfs)): 1032 if not (self.rootfs and os.path.isdir(self.rootfs)):