On Tuesday June 1 2010 00:26:37 Jon Nelson wrote:
Every time I upgrade (replace) bs_publish, I need to
fix it with the
following issue:
gpgcheck=1
is *always* added.
IMO, it should only be added if the packages are actually signed.
The current code:
print FILE "gpgcheck=1\n";
if (!@$signargs) {
print FILE "gpgkey=$BSConfig::gpg_standard_key\n" if (
defined($BSConfig::gpg_standard_key) );
} else {
print FILE
"gpgkey=$BSConfig::repodownload/$prp_ext/repodata/repomd.xml.key\n";
}
I would change that to:
if (!@$signargs) {
if ( defined($BSConfig::gpg_standard_key) ) {
print FILE "gpgcheck=1\n";
print FILE "gpgkey=$BSConfig::gpg_standard_key\n";
}
} else {
print FILE "gpgcheck=1\n";
print FILE
"gpgkey=$BSConfig::repodownload/$prp_ext/repodata/repomd.xml.key\n";
}
Well, how about making the sign daemon setup more foolproof instead? IMHO
signed packages are mandatory but one of the most difficult things to setup
(from watching this list & IRC) seems to be setting up proper signing.
(Sorry, this surely wont help you but from my POV I would prefer to get the
issue fixed than doctoring around the symptoms)
my 0,02$
Stephan
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-buildservice+help(a)opensuse.org