| |
@@ -10385,14 +10385,14 @@
|
| |
logs = [f for f in os.listdir(workpath) if f.endswith('.log')]
|
| |
for logfile in logs:
|
| |
logsrc = joinpath(workpath, logfile)
|
| |
- if tinfo['method'] == 'livemedia':
|
| |
- # multiarch livemedia spins can have log name conflicts, so we
|
| |
- # add the arch to the path
|
| |
+ if tinfo['method'] in ('appliance', 'image', 'indirectionimage', 'livecd'):
|
| |
logdir = joinpath(koji.pathinfo.build(build_info),
|
| |
- 'data/logs/image', imgdata['arch'])
|
| |
+ 'data/logs/image')
|
| |
else:
|
| |
+ # multiarch livemedia (and plugins') spins can have log name conflicts, so we
|
| |
+ # add the arch to the path
|
| |
logdir = joinpath(koji.pathinfo.build(build_info),
|
| |
- 'data/logs/image')
|
| |
+ 'data/logs/image', imgdata['arch'])
|
| |
koji.ensuredir(logdir)
|
| |
final_path = joinpath(logdir, os.path.basename(logfile))
|
| |
if os.path.exists(final_path):
|
| |
Related: https://pagure.io/koji/issue/3229