blob: cff2cc90ec393356f56c832b2a2c5f18ab9122c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
lx-trainer
==========
v2017-12-19
John Ogness <john.ogness@linutronix.de>
lx-trainer is our disk image for all trainings.
To build the image, elbe 2.1 or higher is needed. It is recommended to run
elbe from nereus.lab.linutronix.de because toolchain and eclipse software
are readily available via http mirror.
elbe generates all data on 1 partition (16GB in size). This image is fully
functional and has enough space for most trainings.
The "dd-multi.sh" script will copy the generated training image in parallel
to multiple devices. It will also:
- create and format a 2nd partition
- move /home/* to the new partition
- adjust /etc/fstab to mount the 2nd partition to /home
- unpack any provided layer tarballs
The script can be run like this:
(Only an example! Verify destination devices *before* running!)
sudo ./dd-multi.sh lx-trainer.img \
--layer=./stuff1.tar --layer=./stuff2.tar \
/dev/sde /dev/sdf /dev/sdg
Layer tarballs are unpacked from within the chroot'd trainer system as
root but using the --numeric-owner option.
|