From 8c92f18d0aca0d7a1a5c0cb96ff76dd9f9379cc0 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Nov 17 2011 11:11:21 +0000 Subject: Fixed a typo in the repo config and import the GPG key before doing anything else --- diff --git a/tests/0_common/00_qa_repo_config.sh b/tests/0_common/00_qa_repo_config.sh index af9f67d..06f6d70 100755 --- a/tests/0_common/00_qa_repo_config.sh +++ b/tests/0_common/00_qa_repo_config.sh @@ -19,7 +19,7 @@ name=CentOS-\$releasever - OS baseurl=http://repo.centos.qa/srv/CentOS/\$releasever/os/\$basearch/ gpgcheck=1 enabled=1 -igpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-\$releasever +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-\$releasever [QA-updates] name=CentOS-\$releasever - Updates @@ -52,8 +52,10 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-\$releasever EOF +rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$(t_DistCheck) yum clean all yum repolist >/dev/null 2>&1 + t_CheckExitStatus $?