dagwieers/mrepo — Issue #36: initrd.img excluded if rsync-exclude-debug or rsync-exclude-srpm is set to yes
Author: lassizci
Created: 2011-12-27 13:42:25+00:00
State: open

/etc/mrepo.conf:
[main]
srcdir = /var/mrepo
wwwdir = /var/www/mrepo
confdir = /etc/mrepo.conf.d
arch = x86_64

rsync-exclude-debug = yes
rsync-exclude-srpm = yes
---------------

/etc/mrepo.conf.d/centos.conf:
[centos5]
name = Centos $release
release = 5
arch = x86_64
metadata = repomd
os = rsync://rsync.nic.funet.fi/ftp/pub/Linux/INSTALL/Centos/$release/os/$arch
--------------------

mrepo -ugvvvvf centos5 says:
.
.
.
deleting in x86_64
deleting x86_64/images/pxeboot/initrd.img

I don't think we should exclude these even though we want to skip srpms and debug packages.