Exemple #1
0
 def setup_metadata_conf(self):
     """
     Sets up the yum metadata config to perform the sqlitedb and repomd.xml generation.
     """
     conf = MetaDataConfig()
     conf.directory = self.repodir
     conf.database = 1
     conf.verbose = 1
     conf.skip_stat = 1
     conf.sumtype = self.checksum_type
     return conf