[elbe-devel] [PATCH v4] elbepack: elbexml: add origin and codename

Eduard Krein eduard.krein at linutronix.de
Mon Jun 24 14:11:17 CEST 2024


Add package "Origin" and release "Codename" to generated source.xml. So that creating
the output source.xml package lists now contains also the origin and the codename
of the release to the packages.

Signed-off-by: Eduard Krein <eduard.krein at linutronix.de>
---
 elbepack/elbexml.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/elbepack/elbexml.py b/elbepack/elbexml.py
index 175026ba..092400e3 100644
--- a/elbepack/elbexml.py
+++ b/elbepack/elbexml.py
@@ -397,6 +397,9 @@ class ElbeXML:
         for k, v in hashes.items():
             pak.et.set(k, v)
 
+        pak.et.set('release-origin', aptpkg.origin.origin)
+        pak.et.set('release-codename', aptpkg.origin.codename)
+
         if aptpkg.is_auto_installed:
             pak.et.set('auto', 'true')
         else:
-- 
2.39.2



More information about the elbe-devel mailing list