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