From 88bfa867fd24fc528ceda37a425b71fc73e6105c Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 28 May 2023 12:15:44 +0000 Subject: [PATCH] feat: include proposed-updates --- distro/debian/kernel.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/distro/debian/kernel.go b/distro/debian/kernel.go index 4096ac1..4f82c9e 100644 --- a/distro/debian/kernel.go +++ b/distro/debian/kernel.go @@ -145,7 +145,10 @@ func getRelease(p snapshot.Package) Release { for _, repo := range repos { for _, rel := range ReleaseStrings[1:] { switch repo.Suite { - case rel, rel + "-backports", rel + "-updates": + case rel, rel + "-backports", + rel + "-updates", + rel + "-proposed-updates": + return ReleaseFromString(rel) } }