[arch-commits] Commit in qemu/trunk (PKGBUILD qemu-common.install)

David Runge dvzrv at gemini.archlinux.org
Tue Apr 26 10:26:58 UTC 2022


    Date: Tuesday, April 26, 2022 @ 10:26:57
  Author: dvzrv
Revision: 444007

upgpkg: qemu 7.0.0-6: Rebuild to fix typo.

Fix typo in list of dependencies for qemu-desktop.
Remove unneeded underscore prefix in qemu-common.install's post_install().

Modified:
  qemu/trunk/PKGBUILD
  qemu/trunk/qemu-common.install

---------------------+
 PKGBUILD            |    4 ++--
 qemu-common.install |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-26 10:00:34 UTC (rev 444006)
+++ PKGBUILD	2022-04-26 10:26:57 UTC (rev 444007)
@@ -25,7 +25,7 @@
   qemu-{base,desktop,emulators-full,full}
 )
 pkgver=7.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc="A generic and open source machine emulator and virtualizer"
 arch=(x86_64)
 url="https://www.qemu.org/"
@@ -961,7 +961,7 @@
     qemu-system-x86
     qemu-tools
     qemu-ui-{curses,dbus,egl-headless,gtk,opengl,sdl,spice-{app,core}}
-    qemu-vhost-user
+    qemu-vhost-user-gpu
     qemu-virtiofsd
   )
   optdepends=("${_qemu_optdepends[@]}")

Modified: qemu-common.install
===================================================================
--- qemu-common.install	2022-04-26 10:00:34 UTC (rev 444006)
+++ qemu-common.install	2022-04-26 10:26:57 UTC (rev 444007)
@@ -1,9 +1,9 @@
 post_install() {
-  local _file
-  local _files=(/sys/devices/virtual/misc/vhost-net)
+  local file
+  local files=(/sys/devices/virtual/misc/vhost-net)
 
   # trigger change event, if modules are already loaded
-  for _file in "${_files[@]}"; do
-    [[ -d "$_file" ]] &&  udevadm trigger --action=change "$_file"
+  for file in "${files[@]}"; do
+    [[ -d "$file" ]] &&  udevadm trigger --action=change "$file"
   done
 }



More information about the arch-commits mailing list