Add the repo from topdir to our yumobject for lorax.
This allows lorax to make use of the local low cost repo to fetch packages from. Buildinstall would previously get passed this repo as a runtime argument.
This commit is contained in:
parent
7a8ab8817a
commit
e3a59fe484
@ -819,6 +819,11 @@ class Pungi(pypungi.PungiBase):
|
|||||||
self._inityum()
|
self._inityum()
|
||||||
yb = self.ayum
|
yb = self.ayum
|
||||||
|
|
||||||
|
# Add the repo in the destdir to our yum object
|
||||||
|
self._add_yum_repo('ourtree',
|
||||||
|
'file://%s' % self.topdir,
|
||||||
|
cost=10)
|
||||||
|
|
||||||
product = self.config.get('pungi', 'name')
|
product = self.config.get('pungi', 'name')
|
||||||
version = self.config.get('pungi', 'version')
|
version = self.config.get('pungi', 'version')
|
||||||
release = '%s %s' % (self.config.get('pungi', 'name'), self.config.get('pungi', 'version'))
|
release = '%s %s' % (self.config.get('pungi', 'name'), self.config.get('pungi', 'version'))
|
||||||
|
Loading…
Reference in New Issue
Block a user