summaryrefslogtreecommitdiff
path: root/lx-trainer-vm
diff options
context:
space:
mode:
Diffstat (limited to 'lx-trainer-vm')
-rw-r--r--lx-trainer-vm/README10
1 files changed, 8 insertions, 2 deletions
diff --git a/lx-trainer-vm/README b/lx-trainer-vm/README
index 67d1266..cff2cc9 100644
--- a/lx-trainer-vm/README
+++ b/lx-trainer-vm/README
@@ -1,6 +1,6 @@
lx-trainer
==========
-v2017-09-18
+v2017-12-19
John Ogness <john.ogness@linutronix.de>
lx-trainer is our disk image for all trainings.
@@ -18,8 +18,14 @@ 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 /dev/sde /dev/sdf /dev/sdg
+ 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.