[arch-commits] Commit in qemu/trunk (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Nov 8 03:53:45 UTC 2020
Date: Sunday, November 8, 2020 @ 03:53:45
Author: svenstaro
Revision: 399613
upgpkg: qemu 5.1.0-3: Rename qemu-ga.service to qemu-guest-agent.service
This is in line with what pretty much all other distros use.
Added:
qemu/trunk/qemu-guest-agent.install
qemu/trunk/qemu-guest-agent.service
Modified:
qemu/trunk/PKGBUILD
Deleted:
qemu/trunk/qemu-ga.service
--------------------------+
PKGBUILD | 7 ++++---
qemu-ga.service | 9 ---------
qemu-guest-agent.install | 6 ++++++
qemu-guest-agent.service | 9 +++++++++
4 files changed, 19 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-08 00:46:27 UTC (rev 399612)
+++ PKGBUILD 2020-11-08 03:53:45 UTC (rev 399613)
@@ -6,7 +6,7 @@
qemu-block-{iscsi,rbd,gluster} qemu-guest-agent)
pkgdesc="A generic and open source machine emulator and virtualizer"
pkgver=5.1.0
-pkgrel=2
+pkgrel=3
arch=(x86_64)
license=(GPL2 LGPL2.1)
url="https://wiki.qemu.org/"
@@ -16,7 +16,7 @@
depends=(virglrenderer sdl2 vte3 libpulse libjack.so brltty "${_headlessdeps[@]}")
makedepends=(spice-protocol python ceph libiscsi glusterfs python-sphinx xfsprogs)
source=(https://download.qemu.org/qemu-$pkgver.tar.xz{,.sig}
- qemu-ga.service
+ qemu-guest-agent.service
65-kvm.rules)
sha512sums=('e213edb71d93d5167ddce7546220ecb7b52a7778586a4f476f65bd1e510c9cfc6d1876238a7b501d9cc3fd31cc2ae4b7fb9e753bc3f12cc17cd16dfce2a96ba3'
'SKIP'
@@ -205,9 +205,10 @@
package_qemu-guest-agent() {
pkgdesc="QEMU Guest Agent"
depends=(gcc-libs glib2 libudev.so)
+ install=qemu-guest-agent.install
install -D build-full/qemu-ga "$pkgdir/usr/bin/qemu-ga"
- install -Dm644 qemu-ga.service "$pkgdir/usr/lib/systemd/system/qemu-ga.service"
+ install -Dm644 qemu-guest-agent.service "$pkgdir/usr/lib/systemd/system/qemu-guest-agent.service"
install -Dm755 "$srcdir/qemu-$pkgver/scripts/qemu-guest-agent/fsfreeze-hook" "$pkgdir/etc/qemu/fsfreeze-hook"
}
Deleted: qemu-ga.service
===================================================================
--- qemu-ga.service 2020-11-08 00:46:27 UTC (rev 399612)
+++ qemu-ga.service 2020-11-08 03:53:45 UTC (rev 399613)
@@ -1,9 +0,0 @@
-[Unit]
-Description=QEMU Guest Agent
-ConditionPathExists=/dev/virtio-ports/org.qemu.guest_agent.0
-
-[Service]
-ExecStart=/usr/bin/qemu-ga
-
-[Install]
-WantedBy=multi-user.target
Added: qemu-guest-agent.install
===================================================================
--- qemu-guest-agent.install (rev 0)
+++ qemu-guest-agent.install 2020-11-08 03:53:45 UTC (rev 399613)
@@ -0,0 +1,6 @@
+post_upgrade() {
+ echo "qemu-ga.service was renamed to qemu-guest-agent.service"
+ echo "You might want to switch to the new service name:"
+ echo "# systemctl disable qemu-ga.service"
+ echo "# systemctl enable qemu-guest-agent.service"
+}
Added: qemu-guest-agent.service
===================================================================
--- qemu-guest-agent.service (rev 0)
+++ qemu-guest-agent.service 2020-11-08 03:53:45 UTC (rev 399613)
@@ -0,0 +1,9 @@
+[Unit]
+Description=QEMU Guest Agent
+ConditionPathExists=/dev/virtio-ports/org.qemu.guest_agent.0
+
+[Service]
+ExecStart=/usr/bin/qemu-ga
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list