From baa5a735e18d77f1d8a7de51fb15d30dd870762c Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Tue, 12 Mar 2024 06:53:43 -0400 Subject: [PATCH] kiwi: Generate full logs with debug information Without this flag, we do not have logs that include the details of what happened during the build. --- plugins/builder/kiwi.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/builder/kiwi.py b/plugins/builder/kiwi.py index e1c7a0a9..a9d63cf0 100644 --- a/plugins/builder/kiwi.py +++ b/plugins/builder/kiwi.py @@ -383,6 +383,7 @@ class KiwiCreateImageTask(BaseBuildTask): cmd.extend(['--type', self.opts['type']]) cmd.extend([ '--kiwi-file', os.path.basename(desc), # global option for image/system commands + '--debug', '--logfile', f'/tmp/image-root.{arch}.log', 'system', 'build', '--description', os.path.join(os.path.basename(scmsrcdir), base_path), @@ -399,6 +400,7 @@ class KiwiCreateImageTask(BaseBuildTask): ) bundle_dir = '/builddir/result/bundle' cmd = ['kiwi-ng', + '--debug', '--logfile', f'/tmp/kiwi-result-bundle.{arch}.log', 'result', 'bundle', '--target-dir', target_dir,