aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-user-mode-linux.1
blob: 05080189825e02eb364c1b717086f223701c5d85 (plain)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
.TH "pbuilder-user-mode-linux" 1 "2002 Sep 17" "Debian" "pbuilder"
.SH NAME
pbuilder-user-mode-linux \- personal package builder in UML
.SH SYNOPSIS
.BI "pbuilder-user-mode-linux create [" "options" "]"
.PP
.BI "pbuilder-user-mode-linux update [" "options" "]"
.PP
.BI "pbuilder-user-mode-linux build [" "options" "] " ".dsc-file"
.PP
.BI "pbuilder-user-mode-linux execute [" "options" "] " "script"
.PP
.BI "pbuilder-user-mode-linux login [" "options" "]"
.SH DESCRIPTION
Front end program to the 
.B "pbuilder"
suite of programs, used for creating and maintaining user-mode-linux environment
and building Debian package within the user-mode-linux virtual machine 
environment.
.SH OPTIONS
.TP
.B "create"
Creates a user-mode-linux root image 
for the specified distribution using 
.B rootstrap
software

.TP
.B "update"
Updates the 
user-mode-linux root image
for the specified distribution.
Also, by specifying the 
.B "--distribution"
option, it is possible to switch the distribution.
Specify a dummy distribution value 
even for custom apt config files.

.TP
.B "build"
Builds the package specified by
.I ".dsc-file"
within the user-mode-linux environment.

.TP
.B "login"
Invokes shell within UML.

.TP
.B "execute"
Invokes a command or script inside UML.
.B "execute"
will copy the specified file into the UML system,
and run it.

.TP
.BI "--uml-image [" "UML image" "]"
Specify the UML image to use.

.TP
.BI "--eth0 [" "uml option for eth0" "]"
Specify this option as parameter to UML.

.TP
.BI "--uml-ip [" "IP inside UML" "]"
Specify this to set the IP inside UML.

.TP
.BI "--uml-netmask [" "netmask" "]"
.TP
.BI "--uml-network [" "network" "]"
.TP
.BI "--uml-broadcast [" "broadcast" "]"
.TP
.BI "--uml-gateway [" "gateway" "]"
.TP
.BI "--uml-image [" "UML image" "]"
Specify the UML image to use.

.TP
.BI "--mount-tmpfs [" "yes" "]"
Specify whether to mount tmpfs inside UML chroot.

.TP
.BI "--uml-hostname [" "uml-host" "]"
The hostname inside uml.

.TP
.BI "--distribution [" "sid" "]"
Specify the distribution.
see pbuilder.8

.TP
.BI "--binary-arch"
Specify only to build binary-arch targets.
see pbuilder.8

.TP
.BI "--timeout " "timeouttime"
Timeout build after specified time.
see pbuilder.8

.TP
.BI "--configfile " "config file to read"
Makes pbuilder to read the config file inside UML.

.TP
.BI "--hookdir " "location of hooks"
Makes pbuilder use the specified hookdir inside UML.

.TP
.BI "--aptconfdir " "apt configuretion directory"
Makes pbuilder to use specified apt configuration directory instead of 
other settings. See pbuilder.8

.TP 
.BI "--override-config"
Specify this option along with
.B --distribution 
to switch distribution using 
.B "pbuilder-user-mode-linux update"

.TP 
.BI "--logfile " "logfilename"
Specify this option to make the output go to 
.I logfilename
instead of standard output.

.TP 
.BI "--buildresult " "/dir/to/build/result"
The directory where build result is placed to

.TP
.BI "--uml-debugmode"
Enable tracing of shell scripts used by pbuilder-user-mode-linux.

.SH "NOTES"
This software is in early stage of development. 
Reading the source may help you in case this software doesn't work for you.

For 
.B build
and
.B login
targets, 
.B pbuider-user-mode-linux
will try to use COW devices.

.SH "FILES"
.TP
.I "/etc/pbuilderrc"
The system-wide configuration file for pbuilder.
.TP
.I "/usr/share/pbuilder/pbuilderrc"
The default settings for pbuilder, used as fallback for all 
values that is not specified in
.B "/etc/pbuilderrc."
.TP
.B "/etc/pbuilder/pbuilder-uml.conf"
System-wide configuration file for pbuilder-uml, 
it will take priority over pbuilder configurations.
.TP
.B "/usr/share/pbuilder/pbuilder-uml.conf"
Software-default configuration file for pbuilder-uml.
.TP
.B "${HOME}/.pbuilderrc"
User-default configuration file.
.SH "SEE ALSO"
.RI "pdebuild (" 1 "), "
.RI "pbuilder (" 8 "), "
.RI "rootstrap (" 1 "), "
.RI "linux (" 1 "), "
.RI "pbuilderrc (" 5 "), "
.RI "pbuilder-uml.conf (" 5 ") "