Skip to content

Commit

Permalink
Fix a couple of mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Unike267 authored and Unai267 committed Nov 5, 2024
1 parent 7b5a547 commit 912720d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sections/introduction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ \subsection{Container: ghcr.io/unike267/containers/impl-arty:latest}

\subsection{Shell/Bash script}

\label{shell:script}

This container has the necessary FLOS tools installed inside it to generate bitstreams from your VHDL code.
However, to automate the bitstream generation process, you can generate a shell/bash script \textit{(.sh)}.
This script will be executed inside the container and will perform all the steps to generate the bitstream using the internal FLOS tools installed in it.
Expand All @@ -63,7 +65,7 @@ \subsection{Shell/Bash script}

\noindent To execute the sheel/bash script through the container you must add the argument \ref{cod:1} to open a shell inside it and execute your script.
With this command you can execute several commands inside the open terminal by concatenating them through \textit{\&\&} symbol.
For example, if you want to set a environment variable and then execute your script you can run \say{\mintinline[breaklines]{bash}{EnvVariable=YOUR_envVARIABLE && ./your_bash _script.sh}}.
For example, if you want to set a environment variable and then execute your script you can run \say{\mintinline[breaklines]{bash}{EnvVariable=YOUR_envVARIABLE && ./your_bash_script.sh}}.

\begin{code}
%\begin{minted}[frame=lines,framesep=2mm,baselinestretch=1.2,fontsize=\footnotesize,breaklines,linenos]{bash}
Expand Down Expand Up @@ -152,6 +154,8 @@ \subsection{Container management tool}
In this case the scheme takes the form \mintinline[breaklines]{bash}{(pwd):/wrk:Z}, which means that the host directory is the directory where the run command is executed, the container directory is \mintinline[breaklines]{bash}{/wrk} and the option \mintinline[breaklines]{bash}{:Z} tells Podman the label of the container content.
\end{itemize}
\item[>] \mintinline[breaklines]{bash}{-w} (work directory): to indicate the working directory inside the container, in this case this directory is \mintinline[breaklines]{bash}{/wrk}.
\item[>] \mintinline[breaklines]{bash}{unike267/containers/impl-arty}: is the image from which the container will be launched.
\item[>] \mintinline[breaklines]{bash}{sh -c "shell/bash tasks"}: is explained in subsection \ref{shell:script}.
\end{itemize}
\item To use this command in Docker remplace \say{podman} with \say{docker}.
\end{itemize}
Expand Down

0 comments on commit 912720d

Please sign in to comment.