-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
75 lines (49 loc) · 1.83 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Software Build Automation
=========================
deps: debhelper svn git fakeroot
ZJAILBUILD
----------
zjailbuild is a combination of zbuild and zjail (described below).
Using this script to stage a given build in a jail.
All commands accepts a -h option for displaying help.
ZBUILD
------
This script will run all scripts in sub directory 'stages/xxx' in
lexicographically order including recursion to subdirs. xxx is the
stages selected from command line arg 1:
zbuild build mystage
will run stages in 'stages/mystage'
The my stage directory contain symlinks into the packages
directory and are run in lexicographically order.
A shortcut to use this on a remote host is to use an alias in
your .bashrc file:
alias zbuild="ssh <builduser@buildhost> ./zbuild/zbuild"
ZJAIL
-----
This script is a simple shell script that when executed will
put your current session into a jail. Everything done in
jail works just as if you were on the base system but
changes made will not be made to the base system but
in the jail only.
This means that you can test package installation etc.
without affecting the base system.
A optional ip and hostname can be provided in order
for the jail to use that.
NOTICE: the system root directories
bin dev emul lib lib32 lib64 opt proc sbin sys
are shared between all jail and the base
system and should not be changed from
within a jail (only read).
ZSERVICEFORWARD
---------------
Forwards traffic to a local IP:PORT to the base system local IP and
same port. Usefull for using some of the base systems services on the
jail ip.
TODO
----
* Figure out a way to make the build ordered from web ui
automatically get clean up since they are
build i separate directories in order to be able
to do simultanous builds.
The directories may very well be named by the build ID
in the database.