~ubuntu-branches/ubuntu/jaunty/pbuilder/jaunty

« back to all changes in this revision

Viewing changes to pbuilder-satisfydepends-aptitude

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2007-11-29 10:16:12 UTC
  • Revision ID: james.westby@ubuntu.com-20071129101612-5qy8728k6cid0kjv
Tags: 0.176ubuntu1
* Merge from debian unstable, remaining changes:
  * debian/control:
    - Prefer debootstrap over cdebootstrap.
    - DebianMaintainerField.
    - Remove rootstrap build-dependency.
    - add missing po4a build-dep
  * Makefile:
    - Addded pbuilder-satisfydepends-gdebi
  * pbuilder-buildpackage-funcs:
    - always pass --chroot to the pbuilder-satisfydepends (needed for
      pbuilder-satisfydepends-gdebi)
  * pbuilderrc:
    - Set default archive to "archive.ubuntu.com".
    - Set default distribution to "hardy".
    - Set Ubuntu components.
    - Don't create a buildd variant by default.
    - Use debootstrap rather than cdebootstrap.
  * pbuilder-satisfydepends-gdebi:
    - added alternative b-d resolver that should should speed up b-d
      resolution quite a bit.
 * Support for specifying components is now included in Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    $CHROOTEXEC sh -c "dpkg-deb -b \"$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy\""
87
87
    $CHROOTEXEC apt-get -y --force-yes install aptitude
88
88
    $CHROOTEXEC dpkg -i "$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy.deb" || true
89
 
    $CHROOTEXEC aptitude -y --without-recommends -o Aptitude::CmdLine::Ignore-Trust-Violations=true -o Aptitude::ProblemResolver::StepScore=100 install pbuilder-satisfydepends-dummy
 
89
    $CHROOTEXEC aptitude -y --without-recommends -o APT::Install-Recommends=false -o Aptitude::CmdLine::Ignore-Trust-Violations=true -o Aptitude::ProblemResolver::StepScore=100 install pbuilder-satisfydepends-dummy
90
90
    # check whether the aptitude's resolver kept the package
91
91
    if ! $CHROOTEXEC dpkg -l pbuilder-satisfydepends-dummy 2>/dev/null | grep -q ^ii; then
92
92
        echo "Aptitude couldn't satisfy the build dependencies"