2018-05-30 08:47:20 +10:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This is released into the public domain.
|
|
|
|
# No warranty is provided, implied or otherwise.
|
|
|
|
|
|
|
|
cp ocemu.cfg.default ocemu.cfg && rm -rf c1-sda c1-sdb tmpfs
|
|
|
|
mkdir c1-sda c1-sdb
|
|
|
|
echo -n c1-sda > c1-eeprom/data.bin
|
|
|
|
cd ..
|
|
|
|
cp -r code/* laboratory/c1-sdb/
|
|
|
|
cp -r repository/* laboratory/c1-sdb/
|
2018-06-12 10:27:26 +10:00
|
|
|
lua claw/clawconv.lua laboratory/c1-sdb/data/app-claw/ < claw/code-claw.lua > /dev/null
|
|
|
|
lua claw/clawconv.lua laboratory/c1-sdb/data/app-claw/ < claw/repo-claw.lua >> /dev/null
|
2018-05-30 08:47:20 +10:00
|
|
|
cp -r laboratory/c1-sdb/* laboratory/c1-sda/
|