Skip to content

Commit

Permalink
yocto: labs: workaround for missing space before backslash in bashinput
Browse files Browse the repository at this point in the history
bashinput incrrectly renders without a space before the backslash, which
results in:

| sudo apt install bc build-essential chrpath cpio diffstat gawk git python3 texinfo wget gdisk\
|     libssl-dev lz4

the missing space between "gdisk" and "" implies that copy-pasting these
lines in a terminal results in:

  E: Unable to locate package gdisklibssl-dev

This appears as a bug in the bashinput environment word wrapping. Use the
verbatim environment until a suitable fix for bashinput is implemented.

Report-at: #221

Signed-off-by: Luca Ceresoli <[email protected]>
  • Loading branch information
lucaceresoli committed Jan 20, 2024
1 parent 16a05b9 commit 0ff37d6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions labs/yocto-first-build-stm32/yocto-first-build-stm32.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ \section{Setup}
Go to the \code{$HOME/__SESSION_NAME__-labs/} directory.
Install the required packages:
\begin{bashinput}
sudo apt install bc build-essential chrpath cpio diffstat gawk git python3 texinfo wget gdisk libssl-dev lz4
\end{bashinput}
\begin{verbatim}
sudo apt install bc build-essential chrpath cpio diffstat gawk git python3 texinfo wget \
gdisk libssl-dev lz4
\end{verbatim}
\section{Download Yocto}
Expand Down

0 comments on commit 0ff37d6

Please sign in to comment.