Commit ac445efb authored by Loïc Minier's avatar Loïc Minier

Add support for *-proposed-updates/volatile

parent ec1b1c3b
......@@ -251,13 +251,21 @@ if [ -n "$profile" ]; then
add_output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
add_output_sources "$with_sources" "$base_mirror" "$profile" "$components"
;;
*-proposed-updates/volatile)
archive="debian-volatile"
mirror="`get_archive_url "$archive"`"
volatile_dist="$base_dist/volatile"
add_output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
add_output_sources "$with_sources" "$mirror" "$volatile_dist" "$components"
add_output_sources "$with_sources" "$mirror" "$profile" "$components"
;;
*/volatile|*/volatile-sloppy)
if [ "$base_dist" != "${profile%%/*}" ]; then
die "Unknown Volatile based profile=$profile"
die "Unknown Debian Volatile based profile=$profile"
fi
archive="debian-volatile"
mirror="`get_archive_url "$archive"`"
volatile_dist=${profile%%-*}
volatile_dist=${profile%-sloppy}
add_output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
add_output_sources "$with_sources" "$mirror" "$volatile_dist" "$components"
if [ "$volatile_dist" != "$profile" ]; then
......
......@@ -91,6 +91,9 @@ deb squeeze/volatile comp1" test_profile squeeze/volatile
expect_output "deb squeeze comp1
deb squeeze/volatile comp1
deb squeeze/volatile-sloppy comp1" test_profile squeeze/volatile-sloppy
expect_output "deb squeeze comp1
deb squeeze/volatile comp1
deb squeeze-proposed-updates/volatile comp1" test_profile squeeze-proposed-updates/volatile
expect_output "deb bo comp1" test_profile bo
expect_output "deb lucid comp1" test_profile lucid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment