mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
qemu-user-static: fix --credentials, add --fix-binary
This allows qemu interpreters to be used transparently within chroots, without requiring the interpreter in the chroot.
This commit is contained in:
parent
3fe130fbb3
commit
58851093c5
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
# This package should be updated together with qemu
|
# This package should be updated together with qemu
|
||||||
pkgname=qemu-user-static
|
pkgname=qemu-user-static
|
||||||
version=7.0.0
|
version=7.0.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="qemu-${version}"
|
wrksrc="qemu-${version}"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec
|
configure_args="--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec
|
||||||
|
@ -105,7 +105,7 @@ 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 [ "$magic" ]; then
|
if [ "$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 --credentials yes --fix-binary yes
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue