diff --git a/bin/xt-guess-suite-and-mirror b/bin/xt-guess-suite-and-mirror index 8289bca..2e961c9 100755 --- a/bin/xt-guess-suite-and-mirror +++ b/bin/xt-guess-suite-and-mirror @@ -9,8 +9,9 @@ mirror for DomUs on Debian and Ubuntu Dom0s. =head1 SYNOPSIS - --suite Show suite - --mirror Show mirror + --suite Show suite + --mirror Show mirror + --sources-list= Parse this file as sources.list Shows both if no parameter is given. @@ -92,11 +93,13 @@ my $want_suite = 0; my $want_version = 0; my $want_help = 0; my $want_manual = 0; +my $sources_list = undef; my $result = GetOptions( 'mirror|m' => \$want_mirror, 'suite|s' => \$want_suite, 'version' => \$want_version, 'manual' => \$want_manual, + 'sources-list=s' => \$sources_list, 'help' => \$want_help ); if ($want_help) { @@ -107,6 +110,10 @@ if ($want_manual) { pod2usage( -verbose => 2 ); } +if (defined $sources_list) { + @sources_list_files = ($sources_list); +} + all_sources_list_files: foreach my $sources_list_file (@sources_list_files) { if (-r $sources_list_file) { # sources.list file exists, so it's something debianoid. diff --git a/debian/changelog b/debian/changelog index dc24302..034f51c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,7 +3,9 @@ xen-tools (4.9.2-1) UNRELEASED; urgency=medium * New upstream maintenance release + Update list of Ubuntu and Debian releases. + Fix bashism in release testing target "tidy". - + Bump default ubuntu fallback release to 22.04 Jammy LTS. + + xt-guess-suite-and-mirror: + - Bump default ubuntu fallback release to 22.04 Jammy LTS. + - Add new option --sources-list to pass a file to parse. * Update upstream signing key to update its expiry date. * Depend and Build-Depend on non-(build-)essential package mount. (Closes: #1027383)