commit:     a51df5854c70b475d8aaa3d2ec1353d90e0cc63c
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 19 13:20:37 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Dec 19 13:21:22 2025 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a51df585

In QCOW2 images, enable binpkg-request-signature by default

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/targets/diskimage_stage1.py | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/catalyst/targets/diskimage_stage1.py 
b/catalyst/targets/diskimage_stage1.py
index 9cbf81df..6443c1eb 100644
--- a/catalyst/targets/diskimage_stage1.py
+++ b/catalyst/targets/diskimage_stage1.py
@@ -56,3 +56,16 @@ class diskimage_stage1(StageBase):
                     ' '.join(self.settings["pkgcache_path"]))
         else:
             StageBase.set_pkgcache_path(self)
+
+    def write_make_conf(self, setup=True):
+        StageBase.write_make_conf(self, setup)
+
+        # Append to make.conf
+        makepath = normpath(self.settings["chroot_path"] +
+                            self.settings["make_conf"])
+        with open(makepath, "a") as myf:
+            log.notice("Appending diskimage specifics to stage make.conf %s" % 
makepath)
+            myf.write(
+                '\n'
+                '# We really want to use binary packages here and use them 
properly.\n'
+                'FEATURES="binpkg-request-signature"\n')

Reply via email to