| Age | Commit message (Collapse) | Author |
|
With stretch, the new runstatedir variable is supported. Use the
configure script generated by stretch.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
For the yocto training, some important packages are missing.
Toaster requires pip for python3. The documentation requires
xsltproc and fop. Install them.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Use the image/device argument now passed to the script.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Rather than assuming the image file lx-trainer.img in the current
working directory, require an argument that specifies this. Also,
allow this argument to be a block device to perform the secure
boot preparation on devices already prepared with the image.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Start the untar processes in parallel. This will take advantage
of file caching and should max out the USB bandwidth.
This is important because some trainings (like Yocto) have huge
layers.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
/home shouldn't be empty, but check just in case. Getting an
error in the middle of the script is very annoying.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
It is very annoying if the script aborts in the middle because
of something like missing files. Check for them in the beginnning.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
... from neon-3 to oxygen-3a.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Eventually the lx-trainer image will come with secure boot
automatically. But for now, we have to manually adjust the image.
Here is a script to do that.
Also update the README.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Tarballs are copied to the USB drives and then unpacked in a
chroot. However, this means the data will travel across the bus
three times! For large layers this is craziness.
Since --numeric-owner is used anyway, just unpack the tarballs
directly.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Label the menu item "Evaluation sheet" and name the config item
CONFIG_EVALSHEET.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
A clean must be performed when the theme is switched and
incremental building does not work if printouts are enabled. Add
this information to the README.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Add a new CONFIG_BUILD_MICROCONSULT option to use the MicroConsult
theme. Printouts are also affected by this option.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Liberation Sans is a free metrically equivalent drop-in replacement
for the non-free Arial. Use it instead.
This also requires users to install the fonts-liberation2 package.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
The new "make check" caught some tabs in .tex files. Remove them.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Some targets were missed in b9c47deaa48("build: cleanup PHONY
targets"). Add them as well.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Tabs in tex-files are not correctly processed, so check for tabs in
all tex-files and print a warning about the affected files. Tabs in
tex-files will not terminate the build process.
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Check the required tools, before starting the build process. Missing
tools will terminate the build process.
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Use a variable for the PHONY targets. This makes it easier and robust
to maintain this list.
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
instead of having a out-of-tree kernel module (i hate them).
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
remove devinit for probe and devexit for unregister functions
add __init and __exit for init and exit functions
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
If enabled, all selected presentations will also be build using
the print templates. These are named the same, but stored in the
deploy/printouts subdirectory.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
In 5d4433a71928("add generic support for print version") the tails
were not adjusted correctly.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
All presentations can be built in print form if the file
.lxformat_print
exists in the main directory. If this file does not exist, the
regular beamer format will be generated.
IMPORTANT: The print version of the files are named the same as
the beamer version!
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Some tabs were missed in ea793b23c984("replace *all* tabs with
spaces"). Remove them.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
There are times when tabs are allowed and times when they are not.
Let's just simply never use tabs for anything. This makes it easy
to find presentations where tabs were accidentally inserted.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The "fancyvrb" package is needed by the minicoredumper presentation. This
is quite a nice package for marking up text. Perhaps other presentations
will start using it also.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Adjust image sizes so they fit well on the slides.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The following slide shows hello2 using DT_RPATH, so set the output
to hello2 when compiling.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The list of companies is a very long and narrow image. It does not
fit well on the slide. I split the image into two columns so that
it is now readable.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
For whatever reason, latex did not like this file. It would not
display. I re-exported it in gimp. Now it works.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
The only difference between a pres and a print is the config and
tail lines (first and last lines of the .tex). Make this clear
by consolidating all other lines into the main content.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Boards help to add structure to the printouts.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Characteristics of printable handouts:
- no closing page
- no Linutronix headline
- all slides on a single frame
- two frames per page
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Remove the outdated/useless INSTALL, README, and README.txt files
and create a new and useful README.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Cleanup build processing:
- support quiet and verbose build output (V=0, 1, or 2)
- cleanup clean targets
- replace for-loops with foreach statements
The build process now supports 3 levels of verbosity. Default (V=0)
provides very little output of the latex tooling, V=1 adds the full
output of the latex tooling and V=2 adds output of the make tooling.
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Building latex files may require to re-run the build command more than
once. The make target rules are normally called once.
Make also does not check the dependencies, which are caused by tex
statements (like \input{} or \includegraphics{}).
Both problems are solved by latexmk. This wrapper scans all
dependencies in the .tex file and calls the latex-command until all
depending steps are resolved.
The call of the build-command is forced in make, because the checking,
if a tex-file requires a rebuild is done by latexmk.
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
Rename the clean target in modules.mk to "clean_texfiles" to avoid
collision with "clean" target in Makefile.
Signed-off-by: Holger Dengler <dengler@linutronix.de>
|
|
- require gpt images and expect partition layout
and sizes from lx-trainer-vm.xml
- cleanup output
- use dd instead of cat (to allow progress status)
- use parted instead of fdisk (necessary to fix gpt table)
- remove unnecessary partprobe's
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Debian will mount debugfs by default. Do not explicitly specify
it in /etc/fstab.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
This requires devel/elbe-3.0 branch to build! In
particular, commit 79adee34de55 ("Add support for hybrid
images (UEFI+Bios)")
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
Creating this tarball takes a long time and a lot of space on the
initvm. Since this file is not needed, stop creating it.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
These scripts are provided to participants after the training to
allow them to quickly/easily reproduce the many steps of creating
a simple root filesystem from scratch.
These scripts also serve as an excellent reference for trainers
to follow during the live excercises.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
These are notes that may be helpful for trainers when preparing
for a schulung.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
|
|
rebased against master
Signed-off-by: Manuel Traut <manut@linutronix.de>
|