1
0
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:
Michael Schroeder 2017-07-03 13:33:33 +02:00
parent ce783ecbda
commit 9ed700e930

View File

@ -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