You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koji/3498.patch

24 lines
783 B

From a8cbaf8195e8dcea4927cac5dde917592e313421 Mon Sep 17 00:00:00 2001
From: Tomas Kopecek <tkopecek@redhat.com>
Date: Sep 13 2022 13:59:14 +0000
Subject: kiwi: Explicitely use koji-generated description
Related: https://pagure.io/koji/issue/3497
---
diff --git a/plugins/builder/kiwi.py b/plugins/builder/kiwi.py
index 41ef82e..2d2df67 100644
--- a/plugins/builder/kiwi.py
+++ b/plugins/builder/kiwi.py
@@ -365,6 +365,7 @@ class KiwiCreateImageTask(BaseBuildTask):
cmd.extend([
'system', 'build',
'--description', os.path.join(os.path.basename(scmsrcdir), desc_path),
+ '--kiwi-file', desc,
'--target-dir', target_dir,
])
rv = broot.mock(['--cwd', broot.tmpdir(within=True), '--chroot', '--'] + cmd)