Skip to content
Snippets Groups Projects
Commit 5a3e1e19 authored by Marta Vila Fernandes's avatar Marta Vila Fernandes :game_die: Committed by Alex Iribarren
Browse files

Remove gpgcheck on umd base repo

parent 2fcbe244
No related branches found
No related tags found
1 merge request!234Remove gpgcheck on umd base repo
[UMD-4-7-x86_64-base]
name=UMD 4 base (CentOS7) x86_64
baseurl=http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/base
enabled=1
gpgcheck=0
[UMD-4-7-x86_64-updates]
name=UMD 4 updates (CentOS7) x86_64
baseurl=http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/updates
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-emi file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IGE file:///etc/pki/rpm-gpg/UMD-RPM-PGP-KEY file:///etc/pki/rpm-gpg/RPM-GPG-KEY-QCG file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nordugrid file:///etc/pki/rpm-gpg/0608B895.txt
[UMD-4-EGI-trustanchors]
name=EGI-trustanchors
baseurl=http://repository.egi.eu/sw/production/cas/1/current
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-EUGridPMA-RPM-3
[UMD-4-preview.repository-centos-7-x86_64]
name=Repository for preview.repository (o/s: centos7 arch: x86_64)
baseurl=http://repository.egi.eu/sw/untested/umd/4/centos7/x86_64/
enabled=1
gpgcheck=0
[UMD-4-preview.community-repository-centos-7-x86_64]
name=Repository for preview.repository (o/s: centos7 arch: x86_64)
baseurl=http://repository.egi.eu/community/software/preview.repository/2.0/releases/centos/7/x86_64/RPMS
enabled=1
gpgcheck=0
......@@ -9,7 +9,7 @@
# Default: "//"
defaults:
schedule: '* * * * *'
schedule: '0 * * * *'
checksum: 'sha256'
pathroot: 'mirror'
pathcut: '//'
......
......@@ -2,8 +2,7 @@
name=UMD 4 base (CentOS7) x86_64
baseurl=http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/base
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-emi file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IGE file:///etc/pki/rpm-gpg/UMD-RPM-PGP-KEY file:///etc/pki/rpm-gpg/RPM-GPG-KEY-QCG file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nordugrid file:///etc/pki/rpm-gpg/0608B895.txt
gpgcheck=0
[UMD-4-7-x86_64-updates]
name=UMD 4 updates (CentOS7) x86_64
......
......@@ -65,6 +65,12 @@ fi
# Delete the lock if we die
trap 'rm -f "$LOCKFILE"; exit $?' INT TERM EXIT
# Verify gpgcheck
grep -q 'gpgcheck=1' /etc/yum.repos.d/sync.repo
if [ $? -eq 0 ]; then
GPGCHECK='--gpgcheck'
fi
if [[ $RUN_REPOSYNC -eq 1 ]]; then
# Run reposync
......@@ -74,7 +80,7 @@ if [[ $RUN_REPOSYNC -eq 1 ]]; then
--downloadcomps \
--download-metadata \
--norepopath \
--gpgcheck \
${GPGCHECK} \
--download-path ${REPOPATH} \
--repoid ${REPOID} 2> /local/stderr
RET=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment