mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/qemu to 7.2.0-3
This commit is contained in:
parent
cda9d36d00
commit
00a59486ac
1 changed files with 5 additions and 2 deletions
|
@ -29,7 +29,7 @@ pkgname=(
|
|||
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/"
|
||||
|
@ -337,7 +337,10 @@ package_qemu-common() {
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue