kiwi: use separate --release

This commit is contained in:
Tomas Kopecek 2022-01-11 16:34:11 +01:00
parent e423263f51
commit 565f59459e
3 changed files with 34 additions and 31 deletions

View file

@ -18,6 +18,7 @@ def handle_kiwi_build(goptions, session, args):
parser = OptionParser(usage=usage)
parser.add_option("--scratch", action="store_true", default=False,
help="Perform a scratch build")
parser.add_option("--release", help="Release of the output image")
parser.add_option("--repo", action="append",
help="Specify a repo that will override the repo used to install "
"RPMs in the image. May be used multiple times. The "
@ -50,6 +51,7 @@ def handle_kiwi_build(goptions, session, args):
for arch in options.optional_arches.split(',')
if arch],
'profile': options.kiwi_profile,
'release': options.release,
}
arches = []