Date: Saturday, January 21, 2023 @ 10:47:53
Author: dvzrv
Revision: 467095
upgpkg: qemu 7.2.0-3: Rebuild to fix qemu-user-static-binfmt files.
The binfmt files for qemu-user-static-binfmt had accidentially been broken with
7.2.0-2.
Modified:
qemu/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-21 10:34:26 UTC (rev 467094)
+++ PKGBUILD 2023-01-21 10:47:53 UTC (rev 467095)
@@ -26,7 +26,7 @@
qemu-{base,desktop,emulators-full,full}
)
pkgver=7.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="A generic and open source machine emulator and virtualizer"
arch=(x86_64)
url="https://www.qemu.org/"
@@ -336,7 +336,10 @@
done
# modify and rename binfmt.d configs to prevent name conflicts
for _conf in "$pkgdir/usr/lib/binfmt.d/"*; do
- cat "$_conf" | tr -d '\n' | sed "s/:$/-static:F/" >
"${_conf//.conf/-static.conf}"
+ _exe_name="$(basename "${_conf/.conf/}")"
+ _new_exe_name="${_exe_name}-static"
+ _new_conf_name="${_conf/.conf/-static.conf}"
+ sed -e "s|usr/bin/${_exe_name}|usr/bin/${_new_exe_name}|" "$_conf" >
"${_new_conf_name}"
done
# install default binaries