diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-25 13:27:18 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-25 13:27:18 +0100 |
commit | 467283eb514f79968c3002bbfd1b7b01cff1291e (patch) | |
tree | ef2f484151699e2b55935c68cbd486848628950a /pbuilder-apt-config | |
parent | 284f65caec7a910f3d2c165d7d9c8d5fd72584f4 (diff) | |
download | pbuilder-467283eb514f79968c3002bbfd1b7b01cff1291e.tar pbuilder-467283eb514f79968c3002bbfd1b7b01cff1291e.tar.gz |
Add support for pockets in suite mode and tests
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-x | pbuilder-apt-config | 4 |
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 |