Skip to content

Commit

Permalink
xt-guess-suite-and-mirror: Add support for Ubuntu Ports APT repos
Browse files Browse the repository at this point in the history
Closes: #1023667, LP: #1995969
  • Loading branch information
xtaran committed Jan 30, 2023
1 parent f368ae7 commit 95207ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/xt-guess-suite-and-mirror
Expand Up @@ -143,7 +143,7 @@ all_sources_list_files: foreach my $sources_list_file (@sources_list_files) {
# Skip updates, backports, volatile or security mirror.
next if $source_components[2] !~ /^[a-z]+$/;

if ($source_components[1] =~ m(/debian/?$|/ubuntu/?$)) {
if ($source_components[1] =~ m(/debian/?$|/ubuntu(-ports)?/?$)) {
# Seems a typical mirror. Let's use that one

$mirror = $source_components[1];
Expand Down
2 changes: 2 additions & 0 deletions debian/changelog
Expand Up @@ -6,6 +6,8 @@ xen-tools (4.9.2-1) UNRELEASED; urgency=medium
+ 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.
- Add support for Ubuntu Ports APT repos. (Closes: #1023667,
LP: #1995969)
* Update upstream signing key to update its expiry date.
* Depend and Build-Depend on non-(build-)essential package
mount. (Closes: #1027383)
Expand Down

0 comments on commit 95207ed

Please sign in to comment.