buildinstall does its own createrepo call, no need to do it twice

This commit is contained in:
jkeating@harpoon.lab.boston.redhat.com 2006-10-24 00:46:05 -04:00 committed by Jesse Keating
parent 340e01eaf1
commit 123b31573e

View File

@ -23,9 +23,6 @@ class Pungi:
os.mkdir(self.basedir) os.mkdir(self.basedir)
os.link(self.opts.comps, os.path.join(self.basedir, 'comps.xml')) os.link(self.opts.comps, os.path.join(self.basedir, 'comps.xml'))
def doCreaterepo(self):
os.system('/usr/bin/createrepo -g %s %s' % (self.opts.comps, self.prodpath))
# def doCreateSplitrepo(self): # def doCreateSplitrepo(self):
# for disc in seq # for disc in seq
# os.system('/usr/bin/createrepo -g %s --baseurl=media://%s --split %s' % (self.opts.comps, self.prodpath, 'Fedora-%s' % self.opts.version, os.path.join) # os.system('/usr/bin/createrepo -g %s --baseurl=media://%s --split %s' % (self.opts.comps, self.prodpath, 'Fedora-%s' % self.opts.version, os.path.join)
@ -48,7 +45,6 @@ def main():
sys.exit(1) sys.exit(1)
myPungi = Pungi(opts) myPungi = Pungi(opts)
myPungi.doCreaterepo()
myPungi.doBuildinstall() myPungi.doBuildinstall()
myPungi.doPackageorder() myPungi.doPackageorder()
#myPungi.doSplittree() #myPungi.doSplittree()