[elbe-devel] [PATCH] repomanager: always support udeb components

John Ogness john.ogness at linutronix.de
Tue Aug 23 15:47:22 CEST 2016


Since a user may generate udeb packages using pbuilder, the local
repository should provide general support for udeb components.

Signed-off-by: John Ogness <john.ogness at linutronix.de>
---
 elbepack/repomanager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/repomanager.py b/elbepack/repomanager.py
index ad0e32c..d10ad62 100644
--- a/elbepack/repomanager.py
+++ b/elbepack/repomanager.py
@@ -101,11 +101,11 @@ class RepoBase(object):
             fp.write( "Codename: " + att.codename + "\n" )
             fp.write( "Architectures: " + " ".join (att.arch) + "\n" )
             fp.write( "Components: " + " ".join (att.components.difference (set (["main/debian-installer"]))) + "\n" )
+            fp.write( "UDebComponents: " + " ".join (att.components.difference (set (["main/debian-installer"]))) + "\n" )
             fp.write( "Description: " + self.description + "\n" )
 
             if 'main/debian-installer' in att.components:
                 fp.write( "Update: di\n" )
-                fp.write( "UDebComponents: main\n" )
 
                 ufp = self.fs.open( "conf/updates", "w" )
 
-- 
2.8.1




More information about the elbe-devel mailing list