diff options
Diffstat (limited to 'lx-trainer-vm/README')
| -rw-r--r-- | lx-trainer-vm/README | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/lx-trainer-vm/README b/lx-trainer-vm/README index f1c255e..67d1266 100644 --- a/lx-trainer-vm/README +++ b/lx-trainer-vm/README @@ -1,30 +1,25 @@ lx-trainer ========== -v2015-02-05 -Manuel Traut <manut@linutronix.de> +v2017-09-18 +John Ogness <john.ogness@linutronix.de> lx-trainer is our disk image for all trainings. -To build the image, a modified elbe initvm is needed. -The default disk-size of 20GB is not enough! +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 just the first partition. However the -system is configured that there is a second partition -mounted by label 'home' on '/home'. This was made to -reduce the time needed to 'dd' the image to the disks. +elbe generates all data on 1 partition (16GB in size). This image is fully +functional and has enough space for most trainings. -E.g. i added the following content for the yocto training: ----- - % ls home-overlay/devel/yocto/ - downloads pres_lx-trainer-vm.pdf pres_yocto-basic.pdf - meta-mini pres_yocto-advanced.pdf pres_yocto-intro.pdf ----- +The "dd-multi.sh" script will copy the generated training image in parallel +to multiple devices. It will also: -The dd scirpts provided here are just examples how to put -the image on (multiple) usb hard-drives and add the home -partition. They should be used as templates and need modifications -to fit on your environment. + - create and format a 2nd partition + - move /home/* to the new partition + - adjust /etc/fstab to mount the 2nd partition to /home -The update-home script is used to update just the '/home' -partition. E.g. collect the disks after the first training -day, and add some stuff for the 2nd day. +The script can be run like this: +(Only an example! Verify destination devices *before* running!) + + sudo ./dd-multi.sh lx-trainer.img /dev/sde /dev/sdf /dev/sdg |
