Enable a createrepo cache.
This commit is contained in:
parent
8ca20d2fa7
commit
fb6c4402a2
@ -1,3 +1,6 @@
|
||||
* Sat Dec 08 Jesse Keating <jkeating@redhat.com>
|
||||
- Use a createrepo cache.
|
||||
|
||||
* Tue Dec 04 Jesse Keating <jkeating@redhat.com>
|
||||
- Make logged output reusable in shell
|
||||
- Default to 670 for a CD size, so that we don't overflow
|
||||
|
@ -80,6 +80,10 @@ class Pungi(pypungi.PungiBase):
|
||||
createrepo.append('--groupfile')
|
||||
createrepo.append(compsfile)
|
||||
|
||||
createrepo.append('--cachedir')
|
||||
createrepo.append(os.path.join(self.config.get('default', 'cachedir'),
|
||||
'createrepocache'))
|
||||
|
||||
createrepo.append(self.topdir)
|
||||
|
||||
# run the command
|
||||
@ -301,6 +305,10 @@ class Pungi(pypungi.PungiBase):
|
||||
createrepo.append('--groupfile')
|
||||
createrepo.append(compsfile)
|
||||
|
||||
createrepo.append('--cachedir')
|
||||
createrepo.append(os.path.join(self.config.get('default', 'cachedir'),
|
||||
'createrepocache'))
|
||||
|
||||
createrepo.append('--baseurl')
|
||||
createrepo.append('media://%s' % mediaid)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user