diff options
| author | Manuel Traut <manut@mecka.net> | 2011-04-25 21:08:33 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2011-04-25 21:08:33 +0200 |
| commit | fe4b1b187ab159ca052707fb89202c02a0e432bf (patch) | |
| tree | 11c28df20b6e20b12bd12da8ade8440ccc0d88f7 /linux-basics | |
| parent | 22da5b25692a0247413e74b6c03bb635a4172b60 (diff) | |
vorl5: RFS generation added
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'linux-basics')
| -rw-r--r-- | linux-basics/fromscratch_vs_debian/Makefile | 9 | ||||
| -rw-r--r-- | linux-basics/fromscratch_vs_debian/pres_fromscatch_vs_debian_en.tex | 63 |
2 files changed, 72 insertions, 0 deletions
diff --git a/linux-basics/fromscratch_vs_debian/Makefile b/linux-basics/fromscratch_vs_debian/Makefile new file mode 100644 index 0000000..d641258 --- /dev/null +++ b/linux-basics/fromscratch_vs_debian/Makefile @@ -0,0 +1,9 @@ +all: + for pdf in `ls -1 *.tex` ; do \ + TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ + TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ + done + +clean: + rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out + diff --git a/linux-basics/fromscratch_vs_debian/pres_fromscatch_vs_debian_en.tex b/linux-basics/fromscratch_vs_debian/pres_fromscatch_vs_debian_en.tex new file mode 100644 index 0000000..9ca3b9d --- /dev/null +++ b/linux-basics/fromscratch_vs_debian/pres_fromscatch_vs_debian_en.tex @@ -0,0 +1,63 @@ +\input{configpres} + +\title{Rootfilesystem from scratch vs. Debian based system} +\maketitle + +\subsection{Rootfilesystem from scratch} + +\subsubsection{Overview} +\begin{frame} +\frametitle{RFS from scratch} +Advantage: +\begin{itemize} +\item smallest footprint +\end{itemize} +Disadvantages: +\begin{itemize} +\item manual dependency tracking +\item hard to maintain (track bugs for each source) +\end{itemize} +Okay for systems that have less than 16 MB flash. +\end{frame} + +\begin{frame} +\frametitle{RFS from scratch} +HOWTO: see app-devel/cross-devel section +\end{frame} + + +\subsection{Debian based system} + +\subsubsection{Overview} +\begin{frame} +\frametitle{Debian based system} +Advantages +\begin{itemize} +\item Bugtracking is made by Debian +\item Dependencytracking is made by Debian +\item easy to add new packages +\end{itemize} +Disadvantages +\begin{itemize} +\item standard system is about 100 MB +\end{itemize} +\end{frame} + +\subsubsection{HOWTO} +\begin{frame}[containsverbatim] +\frametitle{cross debootstrap} +\begin{lstlisting} +sudo rm -rf /tmp/debian-rfs +sudo /usr/sbin/debootstrap --verbose --arch armel --foreign squeeze \ + /tmp/debian-rfs http://debian.tu-bs.de/debian +sudo rm -rf var/cache/* +sudo rm -rf debootstrap +sudo rm -rf usr/share/doc/* +sudo rm -rf usr/share/man/* +\end{lstlisting} +\end{frame} + + + + +\input{tailpres} |
