Don't try to make debuginfo repos for source arch.
This commit is contained in:
parent
8331ae9e0f
commit
7d92748838
@ -613,6 +613,9 @@ class Pungi(pypungi.PungiBase):
|
|||||||
# create repodata for debuginfo
|
# create repodata for debuginfo
|
||||||
if self.config.getboolean('default', 'debuginfo'):
|
if self.config.getboolean('default', 'debuginfo'):
|
||||||
path = os.path.join(self.archdir, 'debug')
|
path = os.path.join(self.archdir, 'debug')
|
||||||
|
if not os.path.isdir(path):
|
||||||
|
self.logger.debug("No debuginfo for %s" % self.config.get('default', 'arch'))
|
||||||
|
return
|
||||||
self._makeMetadata(path, cachedir, repoview=False)
|
self._makeMetadata(path, cachedir, repoview=False)
|
||||||
|
|
||||||
def doBuildinstall(self):
|
def doBuildinstall(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user