1SCHROOT-SCRIPT-CONFIG(5)         Debian sbuild        SCHROOT-SCRIPT-CONFIG(5)
2
3
4

NAME

6       schroot-script-config - schroot chroot setup script configuration
7

DESCRIPTION

9       schroot  uses  scripts  to set up and then clean up the chroot environ‐
10       ment.  These scripts may be customised using the script-config  key  in
11       /etc/schroot/schroot.conf.   This  key specifies a file which the setup
12       scripts will source when they are run.  The  file  is  a  Bourne  shell
13       script,  and  in consequence may contain any valid shell code, in addi‐
14       tion to simple variable assignments.  This will, for example, allow be‐
15       haviour to be customised according to the specific chroot type or name.
16

ENVIRONMENT

18       The environment is the same as for all setup scripts, described in sch‐
19       root-setup(5).
20

VARIABLES

22       The following variables may be set to configure setup script behaviour.
23       Note  that  new variables may be added in future releases.  Third-party
24       extensions to schroot which add their own setup scripts may  add  addi‐
25       tional  variables  which are not documented here; consult the extension
26       documentation for further details.
27
28       COPYFILES
29              A file containing a list of files to copy into the  chroot  (one
30              file  per  line).  The file will have the same absolute location
31              inside the chroot.
32
33       FSTAB  The filesystem table file to be used to mount filesystems within
34              the  chroot.   The  format  of  this  file  is  the  same as for
35              /etc/fstab, documented in fstab(5).  The only difference is that
36              the  mountpoint  path  fs_dir  is relative to the chroot, rather
37              than the root.
38
39       NSSDATABASES
40              A file listing the system databases to  copy  into  the  chroot.
41              The  default  databases  are  ‘passwd’, ‘shadow’, ‘group’, ‘ser‐
42              vices’, ‘protocols’, ‘networks’, and ‘hosts’.  ‘gshadow’ is  not
43              yet copied by default, due to not being supported by all but the
44              most recent version of the GNU C  library.   The  databases  are
45              copied  using  getent(1)  so  all  database  sources  listed  in
46              /etc/nsswitch.conf will be used for each database.
47

AUTHORS

49       Roger Leigh.
50
52       Copyright © 2005-2010  Roger Leigh <rleigh@debian.org>
53
54       schroot is free software: you can  redistribute  it  and/or  modify  it
55       under  the  terms of the GNU General Public License as published by the
56       Free Software Foundation, either version 3 of the License, or (at  your
57       option) any later version.
58

SEE ALSO

60       sbuild(1), schroot(1), sh(1), schroot.conf(5), schroot-setup(5).
61
62
63
64Version 1.4.10                    22 Aug 2010         SCHROOT-SCRIPT-CONFIG(5)
Impressum