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
|
||||
pkgname=qemu-user-static
|
||||
version=7.0.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="qemu-${version}"
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec
|
||||
|
@ -105,7 +105,7 @@ esac
|
|||
for _fmt in $_fmts; do
|
||||
eval "case $_fmt in $_omit) magic= ;; *) magic=\"\$_${_fmt}_magic\" mask=\"\$_${_fmt}_mask\" ;; esac"
|
||||
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
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue