[elbe-devel] [PATCH 1/5] elbepack: elbexml: add deb-src repositories when building pbuilder from deb-src

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Aug 22 10:09:43 CEST 2024


The source packages are retrieved from the source repositories.
So make sure these repositories are actually available.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/elbexml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/elbexml.py b/elbepack/elbexml.py
index a64ef98e66fb..04fd188ff665 100644
--- a/elbepack/elbexml.py
+++ b/elbepack/elbexml.py
@@ -173,7 +173,7 @@ class ElbeXML:
 
             poptions = goptions + poptions
 
-            if build_sources:
+            if build_sources or self.tgt.has('pbuilder/src-pkg'):
                 mirrors.append(
                     f"deb-src [{' '.join(poptions)}] {pmirror} {suite} main")
 

-- 
2.46.0



More information about the elbe-devel mailing list