aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-03-25 07:31:21 +1000
committerDavid Walter Seikel2013-03-25 07:31:21 +1000
commit5b9b7d59cc3431b95cc88eef8e76e4fba1cd749c (patch)
tree4bf47ae266159ee15e94252b5d4112b0366c77af
parentInitial commit of the half finished script. (diff)
downloadImpyReleaseBuilder-5b9b7d59cc3431b95cc88eef8e76e4fba1cd749c.zip
ImpyReleaseBuilder-5b9b7d59cc3431b95cc88eef8e76e4fba1cd749c.tar.gz
ImpyReleaseBuilder-5b9b7d59cc3431b95cc88eef8e76e4fba1cd749c.tar.bz2
ImpyReleaseBuilder-5b9b7d59cc3431b95cc88eef8e76e4fba1cd749c.tar.xz
Add docs about how to set up the build images.
-rw-r--r--README.md75
1 files changed, 74 insertions, 1 deletions
diff --git a/README.md b/README.md
index e56f923..c32db99 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,77 @@
1ImpyReleaseBuilder 1ImpyReleaseBuilder
2================== 2==================
3 3
4A script to build Imprudence for various OSes using qemu and virtual serial ports. \ No newline at end of file 4A script to build Imprudence for various OSes using qemu and virtual
5serial ports.
6
7Lot's of people wonder why I don't use ssh, the reason is that ssh
8requires both tho host and the guest computer to spend effort on
9encrypting the data stream that is only private between them anyway.
10The poor things are working hard enough compiling the horendously huge
11viewer, the less overhead the better. So the only thing using ssh gets
12you is to slow things down.
13
14
15Installing 64 bit Linux build image.
16====================================
17
18Get an Ubuntu 10.04.1 AMD64 desktop install CD image.
19
20Create a qemu disk image -
21qemu-img create -f qcow2 ubuntu64_base.qcow2 20G
22
23Start up qemu, booting from the CD image the first time -
24qemu-system-x86_64 -M pc -cpu qemu64 -m 1G -hda ubuntu64_base.qcow2 -cdrom ubuntu-10.04.1-desktop-amd64.iso -boot once=d
25
26Install Ubuntu. Mostly select the defaults, except -
27Log in automatically.
28
29Update the system -
30apt-get update
31apt-get dist-upgrade
32
33Make sure this is in /etc/init/ttyS0.conf -
34start on stopped rc RUNLEVEL=[2345]
35stop on runlevel [!2345]
36respawn
37exec /sbin/getty -iLn -l /bin/bash 115200 ttyS0 vt102
38
39Install developmont stuff, and build time dependencies.
40apt-get install cmake binutils-gold bison build-essential flex git-core texinfo
41apt-get install freeglut3-dev libcrypto++-dev libgcrypt11-dev libgpg-error-dev libgsf-1-dev libmagic-dev libssl-dev libxinerama-dev libxrender-dev
42
43Shutdown qemu, then setup the snapshot -
44qemu-img create -f qcow2 -o backing_file=ubuntu64_base.qcow2 ubuntu64_diff.qcow2
45
46
47
48Installing 32 bit Linux build image.
49====================================
50
51Same as the 64 bit version above, but use Ubuntu 10.04.1 i386 desktop install CD, and use qemu-system-i386.
52
53
54Installing Windows XP build image.
55==================================
56
57Been a long time since I did this, forgot how. These are the general tasks -
58
59create the disk image
60install under qemu
61reboot
62labourously install all the development stuff and build time dependencies
63reboot
64setup cygwin shell on serial port as a service
65reboot
66Then reboot more, coz it's Windows.
67
68
69Installing Mac build system.
70============================
71
72It's actually against Apples license for Mac OSX to install it on a VM
73that is not running on Apple branded hardware, so this time it has to be
74real Apple hardware. When I actually get one, I'l make notes and get it
75to work. This one likely needs to use ssh, don't think Mac's have
76serial ports.
77