RPM/Mash
Aller à la navigation
Aller à la recherche
Mash
Présentation
Mash est un outil qui interroge Koji à propos des derniers RPM créés pour un tag donné et qui créer un dépôt avec ces RPM, incluant leurs dépendances.
Installation
yum install mash
Configuration
Configuration générale de mash
Fichier <path>/etc/mash/mash.conf</path>
[defaults]
configdir = /etc/mash
buildhost = http://didier.b2pweb.com/kojihub
repodir = file:///mnt/koji
use_sqlite = True
use_repoview = False
Configuration du dépôt pour CentOS 5
Fichier <path>/etc/mash/centos5.mash</path>
# mash config file
[centos5]
rpm_path = %(arch)s/
repodata_path = %(arch)s/
source_path = SRPMS
debuginfo = True
multilib = True
multilib_method = devel
tag = centos-5
inherit = True
strict_keys = False
keys = 22B3B81A, 1ACA3465, A82BA4B7, 069C8460, 97A1071F, E8E40FDE, 57BBCCBA, D22E77F2, 4EBFC273, 0B86274E, 6DF2196F, DF9B0AE9
repoviewurl = http://didier.b2pweb.com/repositories/centos/5/%(arch)s/
repoviewtitle = "CentOS 5 repository - %(arch)s"
arches = i386 x86_64
delta = True
# Change distro_tags as fedora-release version gets bumped
#distro_tags = cpe:/o:fedoraproject:fedora:17 rawhide
hash_packages = True
outputdir = /mnt/repositories/centos/5
Lancement de l'outil
mash centos5