From 94c0f6c9d3d49556bd482980ea8046b389476fc4 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Mon, 1 Aug 2011 16:07:53 +0200 Subject: [PATCH] Dom0: use kpackagekit for updates GUI --- dom0/aux-tools/qubes-watch-updates.sh | 2 +- dom0/qvm-tools/qvm-dom0-upgrade | 2 +- rpm_spec/core-dom0.spec | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dom0/aux-tools/qubes-watch-updates.sh b/dom0/aux-tools/qubes-watch-updates.sh index f1532bc6..378f4c34 100755 --- a/dom0/aux-tools/qubes-watch-updates.sh +++ b/dom0/aux-tools/qubes-watch-updates.sh @@ -52,7 +52,7 @@ while true; do # Yes, I know that it will block future checking for updates, # but it is intentional (to not flood user with updates # notification) - gpk-update-viewer + kpackagekit --updates fi fi done diff --git a/dom0/qvm-tools/qvm-dom0-upgrade b/dom0/qvm-tools/qvm-dom0-upgrade index 1f496f6a..27fb18b4 100755 --- a/dom0/qvm-tools/qvm-dom0-upgrade +++ b/dom0/qvm-tools/qvm-dom0-upgrade @@ -19,7 +19,7 @@ if [ $# -gt 0 ]; then elif [ -f /var/lib/qubes/updates/repodata/repomd.xml ]; then yum check-update if [ $? -eq 100 ]; then - gpk-update-viewer + kpackagekit --updates fi else echo "No updates avaliable" diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 0921262d..bf6a1f0a 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -42,6 +42,7 @@ Conflicts: qubes-gui-dom0 < 1.1.13 Requires: yum-plugin-post-transaction-actions Requires: xen >= 4.1.0-2 Requires: createrepo +Requires: kpackagekit %define _builddir %(pwd)/dom0 %description