« RPM/Mash » : différence entre les versions

De TartareFR
Aller à la navigation Aller à la recherche
Ligne 25 : Ligne 25 :
Fichier <path>/etc/mash/centos5.mash</path>
Fichier <path>/etc/mash/centos5.mash</path>
<syntaxhighlight lang="ini">
<syntaxhighlight lang="ini">
# mash config file
[5]
 
rpm_path = os/RPMS/%(arch)s/
[centos5]
repodata_path = os/RPMS/%(arch)s/
rpm_path = %(arch)s/
source_path = os/SRPMS
repodata_path = %(arch)s/
source_path = SRPMS
debuginfo = True
debuginfo = True
debuginfo_path = debug/%(arch)s/
multilib = True
multilib = True
multilib_method = devel
multilib_method = devel
Ligne 38 : Ligne 37 :
strict_keys = False
strict_keys = False
keys = 22B3B81A, 1ACA3465, A82BA4B7, 069C8460, 97A1071F, E8E40FDE, 57BBCCBA, D22E77F2, 4EBFC273, 0B86274E, 6DF2196F, DF9B0AE9
keys = 22B3B81A, 1ACA3465, A82BA4B7, 069C8460, 97A1071F, E8E40FDE, 57BBCCBA, D22E77F2, 4EBFC273, 0B86274E, 6DF2196F, DF9B0AE9
repoviewurl = http://didier.b2pweb.com/repositories/centos/5/%(arch)s/
repoviewurl = http://didier.b2pweb.com/repositories/
repoviewtitle = "CentOS 5 repository - %(arch)s"
repoviewtitle = "CentOS 5 repository - %(arch)s"
arches = i386 x86_64
arches = i386 x86_64
Ligne 45 : Ligne 44 :
#distro_tags = cpe:/o:fedoraproject:fedora:17 rawhide
#distro_tags = cpe:/o:fedoraproject:fedora:17 rawhide
hash_packages = True
hash_packages = True
outputdir = /mnt/repositories/centos/5
outputdir = /mnt/repositories/centos
</syntaxhighlight>
 
=== Configuration du dépôt pour CentOS 6 ===
 
Fichier <path>/etc/mash/centos6.mash</path>
<syntaxhighlight lang="ini">
[6]
rpm_path = os/RPMS/%(arch)s/
repodata_path = os/RPMS/%(arch)s/
source_path = os/SRPMS
debuginfo = True
debuginfo_path = debug/%(arch)s/
multilib = True
multilib_method = devel
tag = centos-6
inherit = True
strict_keys = False
keys = 22B3B81A, 1ACA3465, A82BA4B7, 069C8460, 97A1071F, E8E40FDE, 57BBCCBA, D22E77F2, 4EBFC273, 0B86274E, 6DF2196F, DF9B0AE9
repoviewurl = http://didier.b2pweb.com/repositories/
repoviewtitle = "CentOS 6 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
</syntaxhighlight>
</syntaxhighlight>


== Lancement de l'outil ==
== Lancement de l'outil ==
  mash centos5
  mash centos5

Version du 22 août 2012 à 10:31

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>

[5]
rpm_path = os/RPMS/%(arch)s/
repodata_path = os/RPMS/%(arch)s/
source_path = os/SRPMS
debuginfo = True
debuginfo_path = debug/%(arch)s/
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/
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

Configuration du dépôt pour CentOS 6

Fichier <path>/etc/mash/centos6.mash</path>

[6]
rpm_path = os/RPMS/%(arch)s/
repodata_path = os/RPMS/%(arch)s/
source_path = os/SRPMS
debuginfo = True
debuginfo_path = debug/%(arch)s/
multilib = True
multilib_method = devel
tag = centos-6
inherit = True
strict_keys = False
keys = 22B3B81A, 1ACA3465, A82BA4B7, 069C8460, 97A1071F, E8E40FDE, 57BBCCBA, D22E77F2, 4EBFC273, 0B86274E, 6DF2196F, DF9B0AE9
repoviewurl = http://didier.b2pweb.com/repositories/
repoviewtitle = "CentOS 6 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

Lancement de l'outil

mash centos5