summaryrefslogtreecommitdiffstats
path: root/man/sbuild-debian-developer-setup.1.in
blob: 85084aebf00aafcdcbdd523cdce74ca4fee8b157 (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
.\" Copyright © 2018  Michael Stapelberg <stapelberg@debian.org>
.\"
.\" This program is free software: you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation, either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
.\" General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program.  If not, see
.\" <http://www.gnu.org/licenses/>.
.so defs.man
.TH SBUILD\-DEBIAN\-DEVELOPER\-SETUP 1 "\*[RELEASE_DATE]" "Version \*[VERSION]" "Debian sbuild"
.SH NAME
sbuild\-debian\-developer\-setup \- set up sbuild so that packages for Debian unstable can be built
.SH SYNOPSIS
.BR sbuild\-debian\-developer\-setup
.RB [ \-h \[or] \-\-help ]
.RB [ \-\-distribution=\fIdistribution\fP ]
.RB [ \-\-suite=\fIsuite\fP ]
.RB [ \-\-arch=\fIarch\fP ]
.SH DESCRIPTION

\fBsbuild-debian-developer-setup\fR is a convenience script to set up an sbuild
environment for Debian Developers.

When run, it adds the current user to the sbuild group, creates a schroot for
building packages for Debian unstable in
\fI/srv/chroot/unstable-$arch-sbuild\fP, and creates a cronjob which updates
said schroot daily.

The script assumes you are on an un-metered internet connection (daily schroot
updates might be costly otherwise).
.SH OPTIONS
.TP
.BR \-h ", " \-\-help
Display this manual.
.TP
.BR \-V ", " \-\-version
Print version information.
.TP
.BR "\-\-distribution=\fIdistribution\fP"
Set up an sbuild chroot for \fIdistribution\fP. Defaults to "debian".
.TP
.BR "\-\-suite=\fIsuite\fP"
Set up an sbuild chroot for \fIsuite\fP. Defaults to "unstable".
.TP
.BR "\-\-arch=\fIarch\fP"
Set up an sbuild chroot with architecture \fIarch\fP. Defaults to system arch.
.SH EXAMPLES
To set up sbuild and build the hello world Debian package, use:
.PP
\f[CR]% \f[CB]sudo sbuild\-debian\-developer\-setup\fP\fP\[CR]
.br
\f[CR]% \f[CB]newgrp sbuild\[CR]
.br
\f[CR]% \f[CB]sbuild -d unstable hello\[CR]
.br
.SH AUTHORS
.nf
Michael Stapelberg.
.fi
.SH COPYRIGHT
.nf
Copyright \[co] 2018 Michael Stapelberg <stapelberg@debian.org>.
.fi
.SH "SEE ALSO"
.BR sbuild (1).
.\"#
.\"# The following sets edit modes for GNU EMACS
.\"# Local Variables:
.\"# mode:nroff
.\"# fill-column:79
.\"# End: