From baa5a735e18d77f1d8a7de51fb15d30dd870762c Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Apr 10 2024 12:41:15 +0000 Subject: 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. --- diff --git a/plugins/builder/kiwi.py b/plugins/builder/kiwi.py index e1c7a0a..a9d63cf 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,