~ubuntu-branches/ubuntu/trusty/schroot/trusty

« back to all changes in this revision

Viewing changes to bin/schroot-sbuild/schroot-sbuild.cc

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh
  • Date: 2011-05-15 16:22:36 UTC
  • mfrom: (1.1.30 upstream) (2.2.24 sid)
  • Revision ID: james.westby@ubuntu.com-20110515162236-cfpzkanx65sexo8c
* New upstream stable release.
* Large file support is enabled by default.  This enables the use
  of files over 2 GiB in size on 32 bit architectures
  (Closes: #619825).
* dchroot-dsa: Use current interface for loading dchroot.conf,
  rather than the old, which caused a fatal exception
  (Closes: #626503).
* schroot: Don't use rbind when mounting filesystems in the chroot
  (Closes: #622756).  Recursive bind mounting of /proc, /dev and
  /sys caused breakage with systemd due to its use of autofs mounts.
  autofs interacts badly with bind mounting, leading to unmountable
  mount points.  While rbind is still possible, it is not done by
  default, and instead only specific filesystems are mounted;
  additional mounts required must be added to the profile fstab file.
* man: Add missing newline for run-exec-scripts (Closes: #624303).
  Fix incorrectly terminated underlining of /proc (Closes: #624302).
  Also document the chroot types implementing specific additional
  options (Closes: #626221).  Thanks to Marc Haber and Brian May.
* Session metadata includes the original chroot name.  This is
  available in the user environment as SCHROOT_CHROOT_NAME and
  in the setup scripts as CHROOT_NAME (Closes: #623828).
* Include buildd profile.  This was previously included in the buildd
  and sbuild packages, but was not built for the specific host
  architecture due to the package being arch: all.  We therefore
  Replace: buildd and sbuild for versions prior to 0.62.3-1.
  This also involved moving some parts of the base "all" profile
  template into other profile templates in order to keep it
  sufficiently minimal for buildd, and a simplification of
  nssdatabases for the minimal and sbuild profiles.
* Drop obsolete Replaces: from schroot-common.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright © 2005-2007  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
 *********************************************************************/
 
18
 
 
19
#include <config.h>
 
20
 
 
21
#include "schroot-sbuild-main.h"
 
22
#include <schroot/schroot-options.h>
 
23
 
 
24
#include <schroot-base/schroot-base-run.h>
 
25
 
 
26
using std::endl;
 
27
using boost::format;
 
28
using namespace schroot_sbuild;
 
29
 
 
30
/**
 
31
 * Main routine.
 
32
 *
 
33
 * @param argc the number of arguments
 
34
 * @param argv argument vector
 
35
 *
 
36
 * @returns 0 on success, 1 on failure or the exit status of the
 
37
 * chroot command.
 
38
 */
 
39
int
 
40
main (int   argc,
 
41
      char *argv[])
 
42
{
 
43
  return schroot_base::run<schroot::options, schroot_sbuild::main>(argc, argv);
 
44
}