aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-aptitude
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2012-03-09 08:14:19 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-03-09 08:14:19 +0900
commit7aa69397d99fff86196c3a835551f099e4603057 (patch)
tree0ea32320ac6f569b2a1c6dec6a9b6aa86acdf46e /pbuilder-satisfydepends-aptitude
parent78747b5f1081e3afa1d5e0147c4efdbd833b7d14 (diff)
downloadpbuilder-7aa69397d99fff86196c3a835551f099e4603057.tar
pbuilder-7aa69397d99fff86196c3a835551f099e4603057.tar.gz
make longer lines wrap so reading patch files aren't as painful.
Diffstat (limited to 'pbuilder-satisfydepends-aptitude')
-rwxr-xr-xpbuilder-satisfydepends-aptitude16
1 files changed, 14 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends-aptitude b/pbuilder-satisfydepends-aptitude
index 35a8374..97c58e5 100755
--- a/pbuilder-satisfydepends-aptitude
+++ b/pbuilder-satisfydepends-aptitude
@@ -88,8 +88,20 @@ EOF
fi
$CHROOTEXEC sh -c "cat \"$BUILD_DEP_DEB_CONTROL\""
$CHROOTEXEC sh -c "dpkg-deb -b \"$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy\""
- $CHROOTEXEC dpkg --force-depends --force-conflicts -i "$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy.deb" || true
- $CHROOTEXEC aptitude -y --without-recommends -o APT::Install-Recommends=false "${APTITUDEOPT[@]}" -o Aptitude::ProblemResolver::StepScore=100 -o "Aptitude::ProblemResolver::Hints::KeepDummy=reject pbuilder-satisfydepends-dummy :UNINST" -o Aptitude::ProblemResolver::Keep-All-Level=55000 -o Aptitude::ProblemResolver::Remove-Essential-Level=maximum install pbuilder-satisfydepends-dummy
+ $CHROOTEXEC dpkg \
+ --force-depends \
+ --force-conflicts \
+ -i "$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy.deb" || true
+ $CHROOTEXEC aptitude \
+ -y \
+ --without-recommends -o APT::Install-Recommends=false \
+ "${APTITUDEOPT[@]}" \
+ -o Aptitude::ProblemResolver::StepScore=100 \
+ -o "Aptitude::ProblemResolver::Hints::KeepDummy=reject pbuilder-satisfydepends-dummy :UNINST" \
+ -o Aptitude::ProblemResolver::Keep-All-Level=55000 \
+ -o Aptitude::ProblemResolver::Remove-Essential-Level=maximum \
+ install \
+ pbuilder-satisfydepends-dummy
# check whether the aptitude's resolver kept the package
if ! $CHROOTEXEC dpkg -l pbuilder-satisfydepends-dummy 2>/dev/null | grep -q ^ii; then
echo "Aptitude couldn't satisfy the build dependencies"