mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 01:26:23 +01:00
Fix --set-container-derived-from option passing
We now use dir:// as with the repos. Also pass the option with the "--option=value" form.
This commit is contained in:
parent
ce783ecbda
commit
9ed700e930
@ -991,9 +991,7 @@ def main(apiurl, opts, argv):
|
||||
filename = filename[10:]
|
||||
if build_type == 'kiwi':
|
||||
buildargs.append('--kiwi-parameter')
|
||||
buildargs.append('--set-container-derived-from')
|
||||
buildargs.append('--kiwi-parameter')
|
||||
buildargs.append("obs:/"+pdir+"/"+rdir+"/"+filename)
|
||||
buildargs.append('--set-container-derived-from=dir://./' + prdir + "/" + filename)
|
||||
else:
|
||||
prdir = "repos/"+pdir+"/"+rdir
|
||||
# project/repo/arch
|
||||
|
Loading…
Reference in New Issue
Block a user