~ubuntu-branches/ubuntu/maverick/schroot/maverick-updates

« back to all changes in this revision

Viewing changes to doc/sbuild/html/classsbuild_1_1chroot__config.html

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh
  • Date: 2008-01-20 22:51:04 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20080120225104-3zhs8gk9byqigato
Tags: 1.1.6-1
* New upstream development release.
* Acknowledge NMU.  Thanks to Lucas Nussbaum for fixing the Boost
  library names following another incompatible change in Boost
  (Closes: #439215).
* debian/control: Suggest lvm2 instead of lvm-common (Closes: #452263).
* debian/copyright:
  - Update with new GIT source code repository location.
  - Update licence to GPLv3.
* debian/schroot.init: Update licence to GPLv3.
* bin/schroot/setup/20network, bin/schroot/setup/30passwd: For files to
  copy, compare file device, inode and contents to avoid copying
  identical files (Closes: #428808).
* If unknown keys are present in the configuration file, print a warning
  message to alert the user (Closes: #459658).
* The filesystems to mount in the chroot may be customised by the system
  administrator through the use of an fstab file on a per-chroot basis,
  and a new helper utility, schroot-mount (Closes: #395062, #427047).
  Thanks for your patience while we took the time to implement this the
  right way.
* Update Vietnamese translation (Closes: #461531).  Thanks to Clytie
  Siddall.
* debian/schroot.preinst: Add rm_conffile function to remove
  /etc/schroot/setup.d/20network and /etc/schroot/setup.d/30passwd for
  versions prior to this.  These are replaced by
  /etc/schroot/setup.d/20copyfiles.
* debian/schroot.NEWS: Document conffile changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
<link href="tabs.css" rel="stylesheet" type="text/css">
6
6
</head><body>
7
 
<!-- Generated by Doxygen 1.5.2 -->
 
7
<!-- Generated by Doxygen 1.5.4 -->
8
8
<div class="tabs">
9
9
  <ul>
10
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
29
29
<p>
30
30
<code>#include &lt;<a class="el" href="sbuild-chroot-config_8h-source.html">sbuild-chroot-config.h</a>&gt;</code>
31
31
<p>
32
 
Collaboration diagram for sbuild::chroot_config:<p><center><img src="classsbuild_1_1chroot__config__coll__graph.png" border="0" usemap="#sbuild_1_1chroot__config__coll__map" alt="Collaboration graph"></center>
 
32
<div class="dynheader">
 
33
Collaboration diagram for sbuild::chroot_config:</div>
 
34
<div class="dynsection">
 
35
<p><center><img src="classsbuild_1_1chroot__config__coll__graph.png" border="0" usemap="#sbuild_1_1chroot__config__coll__map" alt="Collaboration graph"></center>
33
36
<map name="sbuild_1_1chroot__config__coll__map">
34
 
<area shape="rect" title="STL class." alt="" coords="48,5,160,32"><area shape="rect" title="chroots" alt="" coords="91,28,99,36"><area shape="rect" title="chroots" alt="" coords="65,183,73,191"><area shape="rect" title="\&lt; std::string, std::string \&gt;" alt="" coords="116,28,124,36"><area shape="rect" title="\&lt; std::string, std::string \&gt;" alt="" coords="196,92,204,100"><area shape="rect" title="aliases" alt="" coords="191,119,199,127"><area shape="rect" title="aliases" alt="" coords="91,183,99,191"></map>
35
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classsbuild_1_1chroot__config-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
 
37
<area shape="rect" title="STL class." alt="" coords="53,7,184,34"></map>
 
38
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
39
 
 
40
<p>
 
41
<a href="classsbuild_1_1chroot__config-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
36
42
<tr><td></td></tr>
37
43
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
38
44
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#41561f59fc684eef2fe045932139ed09">error_code</a> { <br>
43
49
<br>
44
50
&nbsp;&nbsp;<a class="el" href="classsbuild_1_1chroot__config.html#41561f59fc684eef2fe045932139ed099201ffec6def86b37c1ef884bd327eda">FILE_OPEN</a>, 
45
51
<a class="el" href="classsbuild_1_1chroot__config.html#41561f59fc684eef2fe045932139ed09ed1b617b0954cc663c84384e290536dd">FILE_OWNER</a>, 
46
 
<a class="el" href="classsbuild_1_1chroot__config.html#41561f59fc684eef2fe045932139ed09cbee3414b1eb338082554736d62bbeca">FILE_PERMS</a>, 
47
 
<a class="el" href="classsbuild_1_1chroot__config.html#41561f59fc684eef2fe045932139ed099e60f2de1d5a2289200af5562104e359">FILE_STAT</a>
 
52
<a class="el" href="classsbuild_1_1chroot__config.html#41561f59fc684eef2fe045932139ed09cbee3414b1eb338082554736d62bbeca">FILE_PERMS</a>
48
53
<br>
49
54
 }</td></tr>
50
55
 
63
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classsbuild_1_1custom__error.html">custom_error</a>&lt; <a class="el" href="classsbuild_1_1chroot__config.html#41561f59fc684eef2fe045932139ed09">error_code</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#a7ee23a948cd404acfa87df13b4607c6">error</a></td></tr>
64
69
 
65
70
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Exception type.  <a href="#a7ee23a948cd404acfa87df13b4607c6"></a><br></td></tr>
66
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::tr1::shared_ptr&lt;<br>
67
 
 <a class="el" href="classsbuild_1_1chroot__config.html">chroot_config</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#6138ce730de1d69e0f97d4100228b697">ptr</a></td></tr>
 
71
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::tr1::shared_ptr<br>
 
72
&lt; <a class="el" href="classsbuild_1_1chroot__config.html">chroot_config</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#6138ce730de1d69e0f97d4100228b697">ptr</a></td></tr>
68
73
 
69
74
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A shared_ptr to a <a class="el" href="classsbuild_1_1chroot__config.html" title="Chroot configuration.">chroot_config</a> object.  <a href="#6138ce730de1d69e0f97d4100228b697"></a><br></td></tr>
70
75
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
80
85
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#c580115ce03027f886ed2c8cf46e7b1b">add</a> (std::string const &amp;location, bool active)</td></tr>
81
86
 
82
87
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a configuration file or directory.  <a href="#c580115ce03027f886ed2c8cf46e7b1b"></a><br></td></tr>
83
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classsbuild_1_1chroot__config.html#2f5c15ac05dd764c9844a76d4834db83">chroot_list</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#c638ba1d392b1294b1175506a81af022">get_chroots</a> () const</td></tr>
 
88
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classsbuild_1_1chroot__config.html#2f5c15ac05dd764c9844a76d4834db83">chroot_list</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#cc56f30c91ee4765662d59b6b0909852">get_chroots</a> () const </td></tr>
84
89
 
85
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of available chroots.  <a href="#c638ba1d392b1294b1175506a81af022"></a><br></td></tr>
 
90
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a list of available chroots.  <a href="#cc56f30c91ee4765662d59b6b0909852"></a><br></td></tr>
86
91
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classsbuild_1_1chroot.html#ef7d5b607d1a0a4a7ebe1d40e2ec9c3a">chroot::ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#3224fe813f1bddd6ba56a49b7553f497">find_chroot</a> (std::string const &amp;name) const </td></tr>
87
92
 
88
93
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find a <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> by its name.  <a href="#3224fe813f1bddd6ba56a49b7553f497"></a><br></td></tr>
89
94
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classsbuild_1_1chroot.html#ef7d5b607d1a0a4a7ebe1d40e2ec9c3a">chroot::ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#faaaa9bc058e38d398bffeba867cb9f5">find_alias</a> (std::string const &amp;name) const </td></tr>
90
95
 
91
96
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find a <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> by its name or an alias.  <a href="#faaaa9bc058e38d398bffeba867cb9f5"></a><br></td></tr>
92
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">string_list</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#31dd02f6e3d06d4be0cd4db1fee64d36">get_chroot_list</a> () const</td></tr>
93
 
 
94
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the names (including aliases) of all the available chroots, sorted in alphabetical order.  <a href="#31dd02f6e3d06d4be0cd4db1fee64d36"></a><br></td></tr>
95
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#5b48be455da8714f9ec0b5d7bf52ef85">print_chroot_list</a> (std::ostream &amp;stream) const</td></tr>
96
 
 
97
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print all the available chroots to the specified stream.  <a href="#5b48be455da8714f9ec0b5d7bf52ef85"></a><br></td></tr>
98
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#a8179c0a28c714cfb540598c366778ec">print_chroot_list_simple</a> (std::ostream &amp;stream) const</td></tr>
99
 
 
100
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a single line of all the available chroots to the specified stream.  <a href="#a8179c0a28c714cfb540598c366778ec"></a><br></td></tr>
 
97
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">string_list</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#d3038678d455444163b44677d2d3554c">get_chroot_list</a> () const </td></tr>
 
98
 
 
99
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the names (including aliases) of all the available chroots, sorted in alphabetical order.  <a href="#d3038678d455444163b44677d2d3554c"></a><br></td></tr>
 
100
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#3a5e20d25c6e45b99b032c1410d3611c">print_chroot_list</a> (std::ostream &amp;stream) const </td></tr>
 
101
 
 
102
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print all the available chroots to the specified stream.  <a href="#3a5e20d25c6e45b99b032c1410d3611c"></a><br></td></tr>
 
103
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#59f5dceb1944ca6df73ed486faa3e989">print_chroot_list_simple</a> (std::ostream &amp;stream) const </td></tr>
 
104
 
 
105
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a single line of all the available chroots to the specified stream.  <a href="#59f5dceb1944ca6df73ed486faa3e989"></a><br></td></tr>
101
106
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__config.html#43402fdc6b09d73d8e5d43b79eb08733">print_chroot_info</a> (<a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">string_list</a> const &amp;<a class="el" href="classsbuild_1_1chroot__config.html#fd4596298ae5fb82629cce2c696d1833">chroots</a>, std::ostream &amp;stream) const </td></tr>
102
107
 
103
108
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print information about the specified chroots to the specified stream.  <a href="#43402fdc6b09d73d8e5d43b79eb08733"></a><br></td></tr>
142
147
Chroot configuration. 
143
148
<p>
144
149
This class holds the configuration details from the configuration file. Conceptually, it's an opaque container of <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> objects.<p>
145
 
Methods are provided to query the available chroots and find specific chroots. 
146
 
<p>
147
 
<hr><h2>Member Typedef Documentation</h2>
 
150
Methods are provided to query the available chroots and find specific chroots. <hr><h2>Member Typedef Documentation</h2>
148
151
<a class="anchor" name="2f5c15ac05dd764c9844a76d4834db83"></a><!-- doxytag: member="sbuild::chroot_config::chroot_list" ref="2f5c15ac05dd764c9844a76d4834db83" args="" -->
149
152
<div class="memitem">
150
153
<div class="memproto">
261
264
File is not owned by user root. </td></tr>
262
265
<tr><td valign="top"><em><a class="anchor" name="41561f59fc684eef2fe045932139ed09cbee3414b1eb338082554736d62bbeca"></a><!-- doxytag: member="FILE_PERMS" ref="41561f59fc684eef2fe045932139ed09cbee3414b1eb338082554736d62bbeca" args="" -->FILE_PERMS</em>&nbsp;</td><td>
263
266
File has write permissions for others. </td></tr>
264
 
<tr><td valign="top"><em><a class="anchor" name="41561f59fc684eef2fe045932139ed099e60f2de1d5a2289200af5562104e359"></a><!-- doxytag: member="FILE_STAT" ref="41561f59fc684eef2fe045932139ed099e60f2de1d5a2289200af5562104e359" args="" -->FILE_STAT</em>&nbsp;</td><td>
265
 
Failed to stat file. </td></tr>
266
267
</table>
267
268
</dl>
268
269
 
501
502
 
502
503
</div>
503
504
</div><p>
504
 
<a class="anchor" name="c638ba1d392b1294b1175506a81af022"></a><!-- doxytag: member="sbuild::chroot_config::get_chroots" ref="c638ba1d392b1294b1175506a81af022" args="() const" -->
 
505
<a class="anchor" name="cc56f30c91ee4765662d59b6b0909852"></a><!-- doxytag: member="sbuild::chroot_config::get_chroots" ref="cc56f30c91ee4765662d59b6b0909852" args="() const " -->
505
506
<div class="memitem">
506
507
<div class="memproto">
507
508
      <table class="memname">
579
580
 
580
581
</div>
581
582
</div><p>
582
 
<a class="anchor" name="31dd02f6e3d06d4be0cd4db1fee64d36"></a><!-- doxytag: member="sbuild::chroot_config::get_chroot_list" ref="31dd02f6e3d06d4be0cd4db1fee64d36" args="() const" -->
 
583
<a class="anchor" name="d3038678d455444163b44677d2d3554c"></a><!-- doxytag: member="sbuild::chroot_config::get_chroot_list" ref="d3038678d455444163b44677d2d3554c" args="() const " -->
583
584
<div class="memitem">
584
585
<div class="memproto">
585
586
      <table class="memname">
601
602
 
602
603
</div>
603
604
</div><p>
604
 
<a class="anchor" name="5b48be455da8714f9ec0b5d7bf52ef85"></a><!-- doxytag: member="sbuild::chroot_config::print_chroot_list" ref="5b48be455da8714f9ec0b5d7bf52ef85" args="(std::ostream &amp;stream) const" -->
 
605
<a class="anchor" name="3a5e20d25c6e45b99b032c1410d3611c"></a><!-- doxytag: member="sbuild::chroot_config::print_chroot_list" ref="3a5e20d25c6e45b99b032c1410d3611c" args="(std::ostream &amp;stream) const " -->
605
606
<div class="memitem">
606
607
<div class="memproto">
607
608
      <table class="memname">
628
629
 
629
630
</div>
630
631
</div><p>
631
 
<a class="anchor" name="a8179c0a28c714cfb540598c366778ec"></a><!-- doxytag: member="sbuild::chroot_config::print_chroot_list_simple" ref="a8179c0a28c714cfb540598c366778ec" args="(std::ostream &amp;stream) const" -->
 
632
<a class="anchor" name="59f5dceb1944ca6df73ed486faa3e989"></a><!-- doxytag: member="sbuild::chroot_config::print_chroot_list_simple" ref="59f5dceb1944ca6df73ed486faa3e989" args="(std::ostream &amp;stream) const " -->
632
633
<div class="memitem">
633
634
<div class="memproto">
634
635
      <table class="memname">
945
946
</div><p>
946
947
<hr>The documentation for this class was generated from the following files:<ul>
947
948
<li>sbuild/<a class="el" href="sbuild-chroot-config_8h-source.html">sbuild-chroot-config.h</a><li>sbuild/<a class="el" href="sbuild-chroot-config_8cc.html">sbuild-chroot-config.cc</a></ul>
948
 
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 8 21:23:49 2007 for sbuild by&nbsp;
 
949
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 21 00:38:20 2008 for sbuild by&nbsp;
949
950
<a href="http://www.doxygen.org/index.html">
950
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 
951
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
951
952
</body>
952
953
</html>