Skip to content

Commit e380181

Browse files
Merge pull request #1705 from QSchulz/dev/tftpd
doc/configuration: add more info on TFTP server requirements
2 parents 4398da7 + 96bb087 commit e380181

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33

44
# You can set these variables from the command line.
5-
SPHINXOPTS =
5+
SPHINXOPTS = -j auto
66
SPHINXBUILD = sphinx-build
77
SPHINXPROJ = labgrid
88
SOURCEDIR = .

doc/configuration.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,17 @@ see below.
13661366
For now, the TFTP/NFS/HTTP server needs to be configured before using it from
13671367
labgrid.
13681368

1369+
Because labgrid uses absolute paths as targets for symlinks for exposing files
1370+
on the TFTP server and because the target of those symlinks is in
1371+
``/var/cache/labgrid/``, the TFTP server needs to follow symlinks whose target
1372+
path is both absolute and in ``/var/cache/labgrid``. Note that depending on the
1373+
configuration of the TFTP server, ``/var/cache/labgrid`` may not be the root
1374+
directory of your TFTP server.
1375+
1376+
`atftpd <https://sourceforge.net/projects/atftp/>`_ is known to work whereas
1377+
`tftpd-hpa <https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git/>`_ doesn't
1378+
seem to be working well with such symlinks.
1379+
13691380
TFTPProvider
13701381
++++++++++++
13711382
A :any:`TFTPProvider` resource describes a TFTP server.

0 commit comments

Comments
 (0)