aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-apt-config
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-25 13:27:18 +0100
committerLoïc Minier <lool@dooz.org>2010-01-25 13:27:18 +0100
commit467283eb514f79968c3002bbfd1b7b01cff1291e (patch)
treeef2f484151699e2b55935c68cbd486848628950a /pbuilder-apt-config
parent284f65caec7a910f3d2c165d7d9c8d5fd72584f4 (diff)
downloadpbuilder-467283eb514f79968c3002bbfd1b7b01cff1291e.tar
pbuilder-467283eb514f79968c3002bbfd1b7b01cff1291e.tar.gz
Add support for pockets in suite mode and tests
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-xpbuilder-apt-config4
1 files changed, 4 insertions, 0 deletions
diff --git a/pbuilder-apt-config b/pbuilder-apt-config
index 57c9d4a..1a56780 100755
--- a/pbuilder-apt-config
+++ b/pbuilder-apt-config
@@ -253,6 +253,7 @@ if [ -n "$profile" ]; then
if [ "$base_dist" != "${profile%%-*}" ]; then
die "Unknown Ubuntu based profile=$profile"
fi
+ pockets=""
case "$profile" in
*-backports)
pockets="updates backports"
@@ -289,6 +290,9 @@ if [ -n "$suite" ]; then
mirror="`guess_vendor_arch_mirror "$vendor" "$arch"`"
fi
output_sources "$with_sources" "$mirror" "$suite" "$components"
+ for pocket in $pockets; do
+ output_sources "$with_sources" "$mirror" "$suite-$pocket" "$components"
+ done
exit 0
fi