From e9fc4f5c8ccbc5bae2746ded2369d78fe47d004e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 3 Sep 2017 15:35:58 +0200 Subject: [PATCH] dom0-updates: do not modify yum.conf Few reasons for this: 1. new templates use dnf to download packages, so yum.conf is unused 2. dom0 in Qubes 4.0 don't have this file at all (so sed fails here) 3. $OPTS already contains --setopt=reposdir=... Fixes QubesOS/qubes-issues#2945 (cherry picked from commit 49b70f037cf9acfb193ff4166d9aa03eb2fe4b29) --- misc/qubes-download-dom0-updates.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/qubes-download-dom0-updates.sh b/misc/qubes-download-dom0-updates.sh index 7cd7bfa..6c4421c 100755 --- a/misc/qubes-download-dom0-updates.sh +++ b/misc/qubes-download-dom0-updates.sh @@ -62,7 +62,6 @@ if ! [ -d "$DOM0_UPDATES_DIR" ]; then fi mkdir -p $DOM0_UPDATES_DIR/etc -sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf if [ -e /etc/debian_version ]; then # Default rpm configuration on Debian uses ~/.rpmdb for rpm database (as