aboutsummaryrefslogtreecommitdiff
path: root/pbuilderrc
diff options
context:
space:
mode:
authorlool <lool>2006-11-06 20:55:12 +0000
committerlool <lool>2006-11-06 20:55:12 +0000
commit1aa3024fb4b430b2336f6b5fe870f81496344ebc (patch)
treec546c8d8601ddf12d840cc2ae489645a21214e0a /pbuilderrc
parentc348757fc7a8c4d87ce0ba3012ffc54e55b53f81 (diff)
downloadpbuilder-1aa3024fb4b430b2336f6b5fe870f81496344ebc.tar
pbuilder-1aa3024fb4b430b2336f6b5fe870f81496344ebc.tar.gz
* pbuilder-satisfydepends-experimental, Makefile: alternate
implementation of pbuilder-satisfydepends which supports pulling build-deps with a version on the apt-get command-line; this is derived from pbuilder-satisfydepends with the following changes: - Add and use new package_versions() and candidate_version() helpers; the former returns all versions of a package available via APT, the later APT's candidate version. - For versionned build-deps, when building the "apt-get install" command, try APT's candidate version or all available versions available from APT in ascending order (the reverse order of apt-cache's output); checkbuilddep_versiondeps() isn't used for this part of the process anymore, but it is still used to honor build-conflicts. - Recover from APT errors caused by unsufficient dependencies ("libfoo-dev Depends: bar but baz is to be installed") and missing dependencies libfoo-dev Depends: bar but it is not going to be installed", or simply "libfoo-dev Depends: bar"); this permits simply listing build-deps when uploading to experimental; achieved by moving the version matching logic in the new versioneddep_to_aptcmd() helper. * pbuilderrc, pbuilderrc.5: document the availability of the alternate implementation.
Diffstat (limited to 'pbuilderrc')
-rwxr-xr-xpbuilderrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/pbuilderrc b/pbuilderrc
index 71db7a3..196a0c0 100755
--- a/pbuilderrc
+++ b/pbuilderrc
@@ -35,7 +35,10 @@ BUILDSOURCEROOTCMD="fakeroot"
PBUILDERROOTCMD="sudo"
# command to satisfy build-dependencies; the default is an internal shell
-# implementation which is relatively slow
+# implementation which is relatively slow; there's an alternate experimental
+# implementation, "pbuilder-satisfydepends-experimental", which might be useful
+# to pull packages from experimental or from repositories with a low APT Pin
+# Priority
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends"
#default is to build everything. Passed on to dpkg-buildpackage