Make bugurl optional
This commit is contained in:
parent
e91bdef563
commit
50bc32037e
@ -1,3 +1,6 @@
|
|||||||
|
* Sat Feb 03 2007 Jesse Keating <jkeating@redhat.com>
|
||||||
|
- Be able to opt-out of a bugurl since buildinstall supports this
|
||||||
|
|
||||||
* Tue Jan 30 2007 Jesse Keating <jkeating@redhat.com>
|
* Tue Jan 30 2007 Jesse Keating <jkeating@redhat.com>
|
||||||
- implantmd5 _then_ sha1sum.
|
- implantmd5 _then_ sha1sum.
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
product_name = Fedora Core
|
product_name = Fedora Core
|
||||||
product_path = Fedora
|
product_path = Fedora
|
||||||
iso_basename = FC
|
iso_basename = FC
|
||||||
bugurl = http://bugzilla.redhat.com
|
|
||||||
comps = /etc/pungi/comps-fc7.xml
|
comps = /etc/pungi/comps-fc7.xml
|
||||||
manifest = /etc/pungi/minimal-manifest
|
manifest = /etc/pungi/minimal-manifest
|
||||||
yumconf = /etc/pungi/yum.conf.x86_64
|
yumconf = /etc/pungi/yum.conf.x86_64
|
||||||
|
@ -45,10 +45,13 @@ class Pungi:
|
|||||||
os.makedirs(os.path.join(self.topdir, self.config.get('default', 'product_path'), 'base'))
|
os.makedirs(os.path.join(self.topdir, self.config.get('default', 'product_path'), 'base'))
|
||||||
shutil.copy(self.config.get('default', 'comps'), os.path.join(self.topdir,
|
shutil.copy(self.config.get('default', 'comps'), os.path.join(self.topdir,
|
||||||
self.config.get('default', 'product_path'), 'base', 'comps.xml'))
|
self.config.get('default', 'product_path'), 'base', 'comps.xml'))
|
||||||
args = '--product "%s" --version %s --release "%s" --prodpath %s --bugurl "%s" %s' % (self.config.get('default', 'product_name'),
|
bugurl = ""
|
||||||
|
if self.config.has_option('default', 'bugurl'):
|
||||||
|
bugurl = "--bugurl %s" % self.config.get('default', 'bugurl')
|
||||||
|
args = '--product "%s" --version %s --release "%s" --prodpath %s %s %s' % (self.config.get('default', 'product_name'),
|
||||||
self.config.get('default', 'version'), '%s %s' % (self.config.get('default', 'product_name'),
|
self.config.get('default', 'version'), '%s %s' % (self.config.get('default', 'product_name'),
|
||||||
self.config.get('default', 'version')), self.config.get('default', 'product_path'),
|
self.config.get('default', 'version')), self.config.get('default', 'product_path'),
|
||||||
self.config.get('default', 'bugurl'), self.topdir)
|
bugurl, self.config.get('default', 'bugurl'), self.topdir)
|
||||||
os.system('/usr/lib/anaconda-runtime/buildinstall %s' % args)
|
os.system('/usr/lib/anaconda-runtime/buildinstall %s' % args)
|
||||||
|
|
||||||
def doPackageorder(self):
|
def doPackageorder(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user