Support cases like Squeeze being EoL, but its key still being in the default keyring
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
xen-tools 4.6.3 (released NOT YET)
|
||||
==================================
|
||||
|
||||
New Features
|
||||
------------
|
||||
|
||||
* Support situations where distributions (e.g. Squeeze) might be end
|
||||
of life, but its archive signing key is still not removed from the
|
||||
default keyring. (As of this writing, that's the case for Debian 6
|
||||
Squeeze on Debian 8 Jessie.)
|
||||
|
||||
Bug Fixes
|
||||
---------
|
||||
|
||||
|
||||
@@ -1292,7 +1292,9 @@ sub setupDefaultOptions
|
||||
$CONFIG{ 'mirror_'.$debdist } = $MIRROR{$dist.'_archive'} or
|
||||
die $dist.'_archive not defined in /etc/xen-tools/mirrors.conf';
|
||||
my $removed_keys = "/usr/share/keyrings/$dist-archive-removed-keys.gpg";
|
||||
$CONFIG{ 'keyring_'.$debdist } = $removed_keys if -s $removed_keys;
|
||||
if ($debdistinfo !~ /default-keyring/ and -s $removed_keys) {
|
||||
$CONFIG{ 'keyring_'.$debdist } = $removed_keys;
|
||||
}
|
||||
} else {
|
||||
$CONFIG{ 'mirror_'.$debdist } = $MIRROR{$dist} or
|
||||
die $dist.' not defined in /etc/xen-tools/mirrors.conf';
|
||||
|
||||
3
debian/changelog
vendored
3
debian/changelog
vendored
@@ -18,6 +18,9 @@ xen-tools (4.6.3~dev-1) UNRELEASED; urgency=medium
|
||||
(Closes: #842609)
|
||||
+ Fixes possible missing gateway in generated
|
||||
/etc/network/interfaces. (Closes: #764625)
|
||||
+ Support situations where distributions (e.g. Squeeze) might be EoL,
|
||||
but its archive signing key is still not removed from the default
|
||||
keyring.
|
||||
* Declare compliance with Debian Policy 3.9.8. (No changes needed.)
|
||||
* Use NEWS.markdown as upstream changelog, don't install it as docs.
|
||||
* Switch many URLs (upstream and in packaging) to https:// and update
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
# codename = distribution and further keywords
|
||||
#
|
||||
# Known distributions: debian, ubuntu
|
||||
# Known keywords: eol, pygrub
|
||||
# Known keywords: eol, pygrub, default-keyring
|
||||
#
|
||||
sarge = debian eol
|
||||
etch = debian eol
|
||||
lenny = debian eol
|
||||
squeeze = debian eol
|
||||
squeeze = debian eol default-keyring
|
||||
wheezy = debian
|
||||
jessie = debian
|
||||
stretch = debian
|
||||
|
||||
Reference in New Issue
Block a user