mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 19:43:50 +02:00
qemu-user-static: add newline to binfmts
This commit is contained in:
parent
3f3124841b
commit
f77b085d13
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'qemu-user-static'
|
# Template file for 'qemu-user-static'
|
||||||
pkgname=qemu-user-static
|
pkgname=qemu-user-static
|
||||||
version=2.4.0
|
version=2.4.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="qemu-${version}"
|
wrksrc="qemu-${version}"
|
||||||
hostmakedepends="pkg-config automake python"
|
hostmakedepends="pkg-config automake python"
|
||||||
makedepends="libglib-devel pixman-devel libuuid-devel"
|
makedepends="libglib-devel pixman-devel libuuid-devel"
|
||||||
|
@ -71,7 +71,8 @@ esac
|
||||||
for _fmt in $_fmts; do
|
for _fmt in $_fmts; do
|
||||||
eval "case $_fmt in $_omit) magic= ;; *) magic=\"\$_${_fmt}_magic\" mask=\"\$_${_fmt}_mask\" ;; esac"
|
eval "case $_fmt in $_omit) magic= ;; *) magic=\"\$_${_fmt}_magic\" mask=\"\$_${_fmt}_mask\" ;; esac"
|
||||||
if [ -n "$magic" ]; then
|
if [ -n "$magic" ]; then
|
||||||
binfmts+="/usr/bin/qemu-$_fmt-static --magic $magic --mask $mask --offset 0 --credential yes "
|
binfmts+="/usr/bin/qemu-$_fmt-static --magic $magic --mask $mask --offset 0 --credential yes
|
||||||
|
"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue