OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / testing / utils / umlsetup-sample.sh
1 #!/bin/sh 
2
3 #
4 # this is the configuration file that helps setup for
5 # a kernel pool for UML compilation w/FreeSWAN.
6
7 # Copy this file to the top of your FreeSWAN source directory as
8 # umlsetup.sh, and edit that copy.
9 #
10
11 # set this to someplace with at least 100Mb free.
12 POOLSPACE=/c2/freeswan/umlbuild
13
14 # set this to original kernel source
15 # could be native build:
16 #KERNPOOL=/usr/src/linux
17 #
18 # or something you downloaded.
19 KERNPOOL=/c2/kernel/linux-2.4.9/linux
20
21 # set this to the UML tar file, gotten from, e.g.
22 #     http://ftp.nl.linux.org/uml/uml-patch-2.4.9-7.bz2
23 #
24 UMLPATCH=/c2/user-mode-linux/download/uml-patch-2.4.9-7.bz2
25
26 # set BASICROOT this to an unpacked copy of the root file system you
27 # want to use.
28 #
29 # a small-ish one is at:
30 #     http://www.sandelman.ottawa.on.ca/freeswan/uml/
31 #
32 # umlfreeroot-5.1.tar.gz  is 17Mb, unpacks to around 50Mb.
33 #
34 # umlfreesharemini.tar.gz is 3Mb, unpacks to around 8Mb.
35 # umlfreeshareall.tar.gz is 6Mb, unpacks to around 26Mb.
36 #
37 # I did 
38 #   mkdir -p /c2/user-mode-linux/basic-root
39 #   cd /c2/user-mode-linux/basic-root
40 #   nftp -o - http://www.sandelman.ottawa.on.ca/freeswan/uml/umlfreeroot-5.1.tar.gz | tar xzvf - 
41 #  (or ncftp, or whatever your favorite program is)
42 #
43 # There is an advantage to having this on the same partition as
44 # $POOLSPACE, as hard links can be used.
45 #
46 BASICROOT=/c2/user-mode-linux/basic-root/root
47
48 # the mini /usr/share has Canada zoneinfo and "en" locale only.
49 # the all one has everything from the original UML debian root.
50 # I run debian, so I can just use my native /usr/share!
51 SHAREDIR=/usr/share
52
53 REGULARHOSTS='sunrise sunset nic'
54 FREESWANHOSTS='east west japan'
55
56 # comment this out
57 echo 
58
59
60