Skip to content

Commit

Permalink
Correct examples for Debian backports
Browse files Browse the repository at this point in the history
The examples list a=${distro_codename}-backports as valid, while this
should be n=${distro_codename}-backports or
codename=${distro_codename}-backports or a=stable-backports

Closes: #940151

Signed-off-by: Wesley Schwengle <[email protected]>
  • Loading branch information
waterkip authored and mvo5 committed Jan 1, 2025
1 parent dbe7a43 commit 5f81145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/50unattended-upgrades.Debian
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Unattended-Upgrade::Origins-Pattern {
"origin=Debian,codename=${distro_codename},label=Debian";
"origin=Debian,codename=${distro_codename},label=Debian-Security";
"origin=Debian,codename=${distro_codename}-security,label=Debian-Security";
// "o=Debian Backports,n=${distro_codename}-backports,l=Debian Backports";

// Archive or Suite based matching:
// Note that this will silently match a different release after
Expand All @@ -39,7 +40,7 @@ Unattended-Upgrade::Origins-Pattern {
// "o=Debian,a=stable";
// "o=Debian,a=stable-updates";
// "o=Debian,a=proposed-updates";
// "o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports";
// "o=Debian Backports,a=stable-backports,l=Debian Backports";
};

// Python regular expressions, matching packages to exclude from upgrading
Expand Down

0 comments on commit 5f81145

Please sign in to comment.