Skip to content

Commit

Permalink
sysdev: nfs: Fix nfsroot line
Browse files Browse the repository at this point in the history
There is not reason to split the nfsroot cmdline keyword, especially since:
- We expect a space between the end of the ip keyword and the nfsroot
  keyword, but no space after "tinysystem/" nor "nfsroot,".
- The full sentence is contained on a single line in the final pdf.

Signed-off-by: Miquel Raynal <[email protected]>
  • Loading branch information
miquelraynal committed Mar 27, 2024
1 parent 568f8b9 commit 2bd5312
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions labs/sysdev-tinysystem/sysdev-tinysystem.tex
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,18 @@ \section{Booting the system}
\begin{ubootinput}
=> setenv bootargs ${bootargs} root=/dev/nfs ip=192.168.0.100:::::usb0
g_ether.dev_addr=f8:dc:7a:00:00:02 g_ether.host_addr=f8:dc:7a:00:00:01
nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,
nfsvers=3,tcp rw
nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,nfsvers=3,tcp rw
\end{ubootinput}
\else
\if\defstring{\labboard}{beagleplay}
\begin{ubootinput}
=> setenv bootargs ${bootargs} root=/dev/nfs ip=192.168.0.100:::::eth0
nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/
nfsroot,nfsvers=3,tcp rw
nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,nfsvers=3,tcp rw
\end{ubootinput}
\else
\begin{ubootinput}
=> setenv bootargs ${bootargs} root=/dev/nfs ip=192.168.0.100
nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,
nfsvers=3,tcp rw
nfsroot=192.168.0.1:/home/<user>/__SESSION_NAME__-labs/tinysystem/nfsroot,nfsvers=3,tcp rw
\end{ubootinput}
\fi
\fi
Expand Down

0 comments on commit 2bd5312

Please sign in to comment.