avoid filename collisions with the user-supplied kickstart file
This commit is contained in:
parent
7d954b8b22
commit
bb711506a6
1 changed files with 1 additions and 1 deletions
|
|
@ -2274,7 +2274,7 @@ class LiveCDTask(BaseTaskHandler):
|
|||
|
||||
# Write out the new ks file. Note that things may not be in the same
|
||||
# order and comments in the original ks file may be lost.
|
||||
kskoji = os.path.join(tmpchroot, 'koji.ks')
|
||||
kskoji = os.path.join(tmpchroot, 'koji-livecd-%s-%i.ks' % (target_info['build_tag_name'], self.id))
|
||||
kspath = os.path.join(broot.rootdir(), kskoji[1:])
|
||||
outfile = open(kspath, 'w')
|
||||
outfile.write(str(ks.handler))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue