From eadd4a71283b8bb4d30ebc1f96d1704bbbdbfeb1 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 17 Oct 2011 23:27:29 +0200 Subject: [PATCH] dom0/qvm-dom0-update: fix installing new packages Pass all args to UpdateVM command --- dom0/qvm-tools/qvm-dom0-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom0/qvm-tools/qvm-dom0-update b/dom0/qvm-tools/qvm-dom0-update index f4bc9505..e0da7500 100755 --- a/dom0/qvm-tools/qvm-dom0-update +++ b/dom0/qvm-tools/qvm-dom0-update @@ -23,6 +23,7 @@ PKGS= YUM_OPTS= GUI= CHECK_ONLY= +ALL_OPTS=$* # Filter out some yum options and collect packages list while [ $# -gt 0 ]; do case "$1" in @@ -74,7 +75,7 @@ qvm-run -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' -qvm-run --pass_io $UPDATEVM "/usr/lib/qubes/qubes_download_dom0_updates.sh --doit --nogui $*" +qvm-run --pass_io $UPDATEVM "/usr/lib/qubes/qubes_download_dom0_updates.sh --doit --nogui $ALL_OPTS" RETCODE=$? if [ "$CHECK_ONLY" == "1" ]; then exit $RETCODE