summaryrefslogtreecommitdiff
path: root/lx-trainer-vm
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2017-12-19 09:36:47 +0100
committerJohn Ogness <john.ogness@linutronix.de>2017-12-19 09:36:47 +0100
commit029792b699380512e39920271af7ee8482a6c2bd (patch)
treefd94c56b9d4ed2b8e5dd20892ff9f3a33d6a72de /lx-trainer-vm
parent579c39ee8a44aa01af7707418615a773e1000588 (diff)
README: add information about --layer option
Signed-off-by: John Ogness <john.ogness@linutronix.de>
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.