diff options
| author | John Ogness <john.ogness@linutronix.de> | 2017-09-18 16:31:17 +0200 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2017-09-18 16:31:17 +0200 |
| commit | 5c876f80b9a3328b33520eb51e044cbec2ebc208 (patch) | |
| tree | 56b977f8c83b84c585ee31ac528f16640062a68f /lx-trainer-vm/dd.sh | |
| parent | 0151fc2ba3bbe33484599df6ef3c49c2b152ffad (diff) | |
update scripts and README
- removed extra dd-variation scripts
- updated script for general usage (src/dest as arguments)
- adjusted script to support modifying new image
- moves /home/* from part1 to part2
- adds /home entry to /etc/fstab
- moved manut's update-home.sh to "extra" directory
(may still be in use? until a general replacement exists)
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'lx-trainer-vm/dd.sh')
| -rwxr-xr-x | lx-trainer-vm/dd.sh | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/lx-trainer-vm/dd.sh b/lx-trainer-vm/dd.sh deleted file mode 100755 index 44685bc..0000000 --- a/lx-trainer-vm/dd.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -cat build/lx-trainer.img | tee \ - >(dd of=/dev/sde) \ - >(dd of=/dev/sdb) \ - >(dd of=/dev/sdc) \ - | dd of=/dev/sdd - -echo -e "n\np\n\n\n\nw" | fdisk /dev/sdb -echo -e "n\np\n\n\n\nw" | fdisk /dev/sdc -echo -e "n\np\n\n\n\nw" | fdisk /dev/sdd -echo -e "n\np\n\n\n\nw" | fdisk /dev/sde -partprobe - -mkfs.ext4 -F -L scratch /dev/sdb2 -mkfs.ext4 -F -L scratch /dev/sdc2 -mkfs.ext4 -F -L scratch /dev/sdd2 -mkfs.ext4 -F -L scratch /dev/sde2 - -mount /dev/sdb2 /mnt -mkdir /mnt/devel -chown 1000:1000 /mnt/devel -cp -a scratch/* /mnt/ -umount /mnt - -mount /dev/sdc2 /mnt -mkdir /mnt/devel -chown 1000:1000 /mnt/devel -cp -a scratch/* /mnt/ -umount /mnt - -mount /dev/sdd2 /mnt -mkdir /mnt/devel -chown 1000:1000 /mnt/devel -cp -a scratch/* /mnt/ -umount /mnt - -mount /dev/sde2 /mnt -mkdir /mnt/devel -chown 1000:1000 /mnt/devel -cp -a scratch/* /mnt/ -umount /mnt |
