Specify flavor for buildinstall

This commit is contained in:
Jesse Keating 2007-03-22 14:01:26 -04:00 committed by Jesse Keating
parent c0ab3ad59c
commit ba6c7b1ae8
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,6 @@
* Thu Mar 22 2007 Jesse Keating <jkeating@redhat.com>
- Pass flavor off to buildinstall if it is set (wwoods)
* Fri Mar 16 2007 Jesse Keating <jkeating@redhat.com>
- Fix a logic flaw in the depsolving loop

View File

@ -101,6 +101,10 @@ class Pungi:
buildinstall.append('--product')
buildinstall.append(self.config.get('default', 'product_name'))
if not self.config.get('default', 'flavor') == "":
buildinstall.append('--variant')
buildinstall.append(self.config.get('default', 'flavor'))
buildinstall.append('--version')
buildinstall.append(self.config.get('default', 'version'))