Skip to content

Commit 679ddab

Browse files
committed
fix(qubes-download-dom0-updates): manually specify vars dir in args
1 parent 529e8b2 commit 679ddab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package-managers/qubes-download-dom0-updates.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ elif [ -f "$DOM0_UPDATES_DIR/etc/yum.conf" ]; then
1313
fi
1414
# DNF uses /etc/yum.repos.d, even when --installroot is specified
1515
OPTS+=("--setopt=reposdir=$DOM0_UPDATES_DIR/etc/yum.repos.d")
16+
# DNF does not find the right vars dir automatically when --installroot is used
17+
OPTS+=("--setopt=varsdir=$DOM0_UPDATES_DIR/etc/yum/vars")
1618
CLEAN_OPTS=("${OPTS[@]}")
1719
# DNF verifies signatures implicitly, but yumdownloader does not.
1820
SIGNATURE_REGEX=""

0 commit comments

Comments
 (0)