PR#4046: kiwi: Generate full logs with debug information
Merges #4046 https://pagure.io/koji/pull-request/4046 Fixes #4048 https://pagure.io/koji/issue/4048
This commit is contained in:
commit
6e2e795be2
1 changed files with 2 additions and 0 deletions
|
|
@ -383,6 +383,7 @@ class KiwiCreateImageTask(BaseBuildTask):
|
||||||
cmd.extend(['--type', self.opts['type']])
|
cmd.extend(['--type', self.opts['type']])
|
||||||
cmd.extend([
|
cmd.extend([
|
||||||
'--kiwi-file', os.path.basename(desc), # global option for image/system commands
|
'--kiwi-file', os.path.basename(desc), # global option for image/system commands
|
||||||
|
'--debug',
|
||||||
'--logfile', f'/tmp/image-root.{arch}.log',
|
'--logfile', f'/tmp/image-root.{arch}.log',
|
||||||
'system', 'build',
|
'system', 'build',
|
||||||
'--description', os.path.join(os.path.basename(scmsrcdir), base_path),
|
'--description', os.path.join(os.path.basename(scmsrcdir), base_path),
|
||||||
|
|
@ -399,6 +400,7 @@ class KiwiCreateImageTask(BaseBuildTask):
|
||||||
)
|
)
|
||||||
bundle_dir = '/builddir/result/bundle'
|
bundle_dir = '/builddir/result/bundle'
|
||||||
cmd = ['kiwi-ng',
|
cmd = ['kiwi-ng',
|
||||||
|
'--debug',
|
||||||
'--logfile', f'/tmp/kiwi-result-bundle.{arch}.log',
|
'--logfile', f'/tmp/kiwi-result-bundle.{arch}.log',
|
||||||
'result', 'bundle',
|
'result', 'bundle',
|
||||||
'--target-dir', target_dir,
|
'--target-dir', target_dir,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue