From 793dec27ffdcf45337dc7f4d8edf76319bda7f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 15 Apr 2014 03:32:52 +0200 Subject: [PATCH] dom0-updates: use qvm-run, not qrexec-client directly --- dom0-updates/qubes-dom0-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 2cf2285..443a9cc 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -75,12 +75,12 @@ fi # becuase otherwise yum might complain about future timestamps qvm-sync-clock -echo "Checking for dom0 updates" >&2 +echo "Using $UPDATEVM as updatevm to download updates for Dom0, this may take some of time..." >&2 # Start VM if not running already qvm-run $QVMRUN_OPTS -a $UPDATEVM true || exit 1 -/usr/lib/qubes/qrexec-client -d "$UPDATEVM" -l 'tar c /var/lib/rpm /etc/yum.repos.d /etc/yum.conf 2>/dev/null' 'user:tar x -C /var/lib/qubes/dom0-updates' 2> /dev/null +tar c /var/lib/rpm /etc/yum.repos.d /etc/yum.conf 2>/dev/null | qvm-run -p "$UPDATEVM" tar x -C /var/lib/qubes/dom0-updates 2> /dev/null qvm-run $QVMRUN_OPTS --pass-io $UPDATEVM "/usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui $ALL_OPTS" RETCODE=$?