diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 4031f83..8ed219a 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -137,8 +137,24 @@ case ${YUM_ACTION=upgrade} in ;; esac +echo "Using $UPDATEVM as UpdateVM for Dom0" >&2 + if [ "$CHECK_ONLY" == "1" ]; then REMOTE_ONLY=1 + echo "Checking for dom0 updates..." >&2 +else + case ${YUM_ACTION=upgrade} in + (upgrade|upgrade-to) + echo "Downloading updates. This may take a while..." >&2;; + (install|reinstall) + echo "Downloading packages. This may take a while..." >&2;; + (downgrade) + echo "Downgrading packages. This may take a while..." >&2;; + (list|search) + echo "Updating package lists. This may take a while..." >&2;; + (*) + echo "Performing ${YUM_ACTION}. This may take a while..." >&2;; + esac fi # Redirect operations on templates to qvm-template command @@ -286,8 +302,6 @@ if [ "$SKIP_BOOT_CHECK" != "1" ] && [ "$CHECK_ONLY" != "1" ] && \ [ -d /sys/firmware/efi ] && check_mounted "/boot/efi" fi -echo "Using $UPDATEVM as UpdateVM to download updates for Dom0; this may take some time..." >&2 - # qvm-run by default auto-starts the VM if not running readonly dom0_updates_dir=/var/lib/qubes/dom0-updates rpmdb_path=$(rpm --eval '%{_dbpath}')