source: trunk/debathena/third/schroot/man/schroot-script-config.5.in @ 24167

Revision 24167, 3.3 KB checked in by broder, 15 years ago (diff)
Import schroot upstream into subversion.
Line 
1.\" Copyright © 2005-2009  Roger Leigh <rleigh@debian.org>
2.\"
3.\" schroot is free software: you can redistribute it and/or modify it
4.\" under the terms of the GNU General Public License as published by
5.\" the Free Software Foundation, either version 3 of the License, or
6.\" (at your option) any later version.
7.\"
8.\" schroot is distributed in the hope that it will be useful, but
9.\" WITHOUT ANY WARRANTY; without even the implied warranty of
10.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11.\" General Public License for more details.
12.\"
13.\" You should have received a copy of the GNU General Public License
14.\" along with this program.  If not, see
15.\" <http://www.gnu.org/licenses/>.
16.\"
17.TH SCHROOT-SCRIPT-CONFIG 5 "@RELEASE_DATE@" "Version @VERSION@" "Debian sbuild"
18.SH NAME
19schroot-script-config \- schroot chroot setup script configuration
20.SH DESCRIPTION
21\fBschroot\fP uses scripts to set up and then clean up the chroot
22environment.  These scripts may be customised using the \f[CI]script\-config\fP
23key in \fI@SCHROOT_CONF@\fP.  This key specifies a file which the setup scripts
24will source when they are run.  The file is a Bourne shell script, and in
25consequence may contain any valid shell code, in addition to simple variable
26assignments.  This will, for example, allow behaviour to be customised
27according to the specific chroot type or name.
28.SH ENVIRONMENT
29The environment is the same as for all setup scripts, described in
30.BR schroot-setup (5).
31.SH VARIABLES
32The following variables may be set to configure setup script behaviour.  Note
33that new variables may be added in future releases.  Third-party extensions to
34schroot which add their own setup scripts may add additional variables which
35are not documented here; consult the extension documentation for further
36details.
37.TP
38COPYFILES
39A file containing a list of files to copy into the chroot (one file per line).
40The file will have the same absolute location inside the chroot.
41.TP
42FSTAB
43The filesystem table file to be used to mount filesystems within the chroot.
44The format of this file is the same as for \fI/etc/fstab\fP, documented in
45.BR fstab (5).
46The only difference is that the mountpoint path \fIfs_dir\fP is relative to the
47chroot, rather than the root.
48.TP
49NSSDATABASES
50A file listing the system databases to copy into the chroot.  The default
51databases are \[oq]passwd\[cq], \[oq]shadow\[cq], \[oq]group\[cq],
52\[oq]services\[cq], \[oq]protocols\[cq], \[oq]networks\[cq], and
53\[oq]hosts\[cq].  \[oq]gshadow\[cq] is not yet copied by default, due to not
54being supported by all but the most recent version of the GNU C library.  The
55databases are copied using
56.BR getent (1)
57so all database sources listed in \fI/etc/nsswitch.conf\fP will be used for
58each database.
59.SH AUTHORS
60Roger Leigh.
61.SH COPYRIGHT
62Copyright \(co 2005\-2009  Roger Leigh \f[CR]<rleigh@debian.org>\fP
63.PP
64\fBschroot\fP is free software: you can redistribute it and/or modify it under
65the terms of the GNU General Public License as published by the Free Software
66Foundation, either version 3 of the License, or (at your option) any later
67version.
68.SH SEE ALSO
69.BR sbuild (1),
70.BR schroot (1),
71.BR sh (1),
72.BR schroot.conf (5),
73.BR schroot\-setup (5).
74.\"#
75.\"# The following sets edit modes for GNU EMACS
76.\"# Local Variables:
77.\"# mode:nroff
78.\"# fill-column:79
79.\"# End:
Note: See TracBrowser for help on using the repository browser.