From c77d78849301950f6cda4eab6dae48da09c9562a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roth?= Date: Tue, 5 May 2026 11:04:36 +0200 Subject: [PATCH] publish: lock all distributions with MultiDist --- deb/publish.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deb/publish.go b/deb/publish.go index cc4c2a0f..e5a72f1b 100644 --- a/deb/publish.go +++ b/deb/publish.go @@ -609,7 +609,12 @@ func (p *PublishedRepo) StoragePrefix() string { // Key returns unique key identifying PublishedRepo func (p *PublishedRepo) Key() []byte { - return []byte("U" + p.StoragePrefix() + ">>" + p.Distribution) + if p.MultiDist { + // do not lock Distribution in MultiDist + return []byte("UM" + p.StoragePrefix()) + } else { + return []byte("U" + p.StoragePrefix() + ">>" + p.Distribution) + } } // RefKey is a unique id for package reference list