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

« back to all changes in this revision

Viewing changes to test/sbuild-chroot-block-device.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:
160
160
  {
161
161
    sbuild::environment expected;
162
162
    setup_env_gen(expected);
163
 
    expected.add("CHROOT_NAME",           "test-session-name");
 
163
    expected.add("SESSION_ID",            "test-session-name");
164
164
    expected.add("CHROOT_DESCRIPTION",     chroot->get_description() + ' ' + _("(session chroot)"));
165
165
    expected.add("CHROOT_SESSION_CLONE",  "false");
166
166
    expected.add("CHROOT_SESSION_CREATE", "false");
189
189
  {
190
190
    sbuild::environment expected;
191
191
    setup_env_gen(expected);
192
 
    expected.add("CHROOT_NAME",           "test-union-session-name");
 
192
    expected.add("SESSION_ID",            "test-union-session-name");
193
193
    expected.add("CHROOT_DESCRIPTION",     chroot->get_description() + ' ' + _("(session chroot)"));
194
194
    expected.add("CHROOT_SESSION_CLONE",  "false");
195
195
    expected.add("CHROOT_SESSION_CREATE", "false");