From 467283eb514f79968c3002bbfd1b7b01cff1291e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Mon, 25 Jan 2010 13:27:18 +0100 Subject: Add support for pockets in suite mode and tests --- pbuilder-apt-config | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pbuilder-apt-config') 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 -- cgit v1.2.3