all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox] apt: add fix up for debian trixie security repository
@ 2025-08-27 14:52 Shannon Sterz
  2025-08-27 21:52 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Shannon Sterz @ 2025-08-27 14:52 UTC (permalink / raw)
  To: pbs-devel

otherwise all components of the repository will be skipped when
mirroring.

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
 proxmox-apt/src/deb822/release_file.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/proxmox-apt/src/deb822/release_file.rs b/proxmox-apt/src/deb822/release_file.rs
index dbf1a367..071ccfe4 100644
--- a/proxmox-apt/src/deb822/release_file.rs
+++ b/proxmox-apt/src/deb822/release_file.rs
@@ -350,7 +350,10 @@ impl TryFrom<ReleaseFileRaw> for ReleaseFile {
         // Fixup bullseye+-security release files which have invalid components
         let codename = parsed.codename.as_deref();
         if parsed.label.as_deref() == Some("Debian-Security")
-            && (codename == Some("bullseye-security") || codename == Some("bookworm-security"))
+            && matches!(
+                codename,
+                Some("bullseye-security") | Some("bookworm-security") | Some("trixie-security")
+            )
         {
             parsed.components = parsed
                 .components
-- 
2.47.2



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-27 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-27 14:52 [pbs-devel] [PATCH proxmox] apt: add fix up for debian trixie security repository Shannon Sterz
2025-08-27 21:52 ` [pbs-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal