aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-aptitude
diff options
context:
space:
mode:
authorJohannes Schauer <josch@debian.org>2015-05-28 12:29:25 +0200
committerAndreas Henriksson <andreas.henriksson@endian.se>2015-06-22 10:06:00 +0200
commit19152b3f7db286f75de1b551010eb472260e0749 (patch)
tree4065acfe36cdb0e343952a0894504490178fae74 /pbuilder-satisfydepends-aptitude
parentb068c8d3289423f7d74a7f8d5886830777d71c27 (diff)
downloadpbuilder-19152b3f7db286f75de1b551010eb472260e0749.tar
pbuilder-19152b3f7db286f75de1b551010eb472260e0749.tar.gz
build profile parsing support
Diffstat (limited to 'pbuilder-satisfydepends-aptitude')
-rwxr-xr-xpbuilder-satisfydepends-aptitude6
1 files changed, 4 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends-aptitude b/pbuilder-satisfydepends-aptitude
index 31f5353..f96486e 100755
--- a/pbuilder-satisfydepends-aptitude
+++ b/pbuilder-satisfydepends-aptitude
@@ -33,8 +33,10 @@ function checkbuilddep_internal () {
local DEPENDS
local CONFLICTS
echo " -> Attempting to satisfy build-dependencies"
- DEPENDS="$(get_build_deps | filter_arch_deps "$ARCH")"
- CONFLICTS="$(get_build_conflicts | filter_arch_deps "$ARCH")"
+ DEPENDS="$(get_build_deps | filter_arch_deps "$ARCH" |
+ filter_restriction_deps \"$DEB_BUILD_PROFILES\" )"
+ CONFLICTS="$(get_build_conflicts | filter_arch_deps "$ARCH" |
+ filter_restriction_deps \"$DEB_BUILD_PROFILES\" )"
echo " -> Creating pbuilder-satisfydepends-dummy package"
BUILD_DEP_DEB_DIR="/tmp/satisfydepends-aptitude"
BUILD_DEP_DEB_CONTROL="$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy/DEBIAN/control"