From 770d48c63bb2ac5688ea8a7f5ab3a6f8dd0ba357 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Wed, 9 Nov 2011 17:30:10 +0100 Subject: [PATCH] Honor the global NO_SIGN in update_repo.sh --- Makefile | 1 + yum/update_repo.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index a3e3285..22248d9 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,7 @@ RPMS = rpm/noarch/qubes-logos-$(QBSLOGOS_VERSION)-*.rpm \ update-repo: ln -f $(RPMS) yum/installer/rpm/ + export NO_SIGN (cd yum && ./update_repo.sh) iso: diff --git a/yum/update_repo.sh b/yum/update_repo.sh index aa67ca2..fdf27ed 100755 --- a/yum/update_repo.sh +++ b/yum/update_repo.sh @@ -24,6 +24,9 @@ update_repo() for repo in dom0-updates installer qubes-dom0 ; do echo "--> Processing repo: $repo..." check_repo $repo/rpm -o $repo/repodata || continue + if [ x$NO_SIGN != x"1" ]; then + check_repo $repo/rpm -o $repo/repodata || continue + fi update_repo $repo -o $repo/repodata done