lx-trainer ========== v2017-12-19 John Ogness 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.