Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bee-files/qemu-wrapper.be0
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
47 lines (35 sloc)
974 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env beesh | |
# BEE_VERSION qemu-wrapper-1.0-0 | |
# more info: https://foo.bar.com | |
SRCURL[0]="" | |
# PATCHURL+=() | |
# build_in_sourcedir | |
# sourcesubdir_append src | |
#mee_extract() { | |
# bee_extract "${@}" | |
#} | |
#mee_patch() { | |
# bee_patch "${@}" | |
#} | |
#mee_configure() { | |
# bee_configure | |
#} | |
mee_build() { | |
echo -e '#! /bin/bash\nprun qemu $(basename "$0") "$@"' >wrapper | |
chmod +x wrapper | |
} | |
mee_install() { | |
mkdir -p "$D$BINDIR" | |
# list generated by | |
# (cd /pkg/qemu-5.1.0-0/bin;ls) | fmt -w 80 | sed 's/.*/ & \\/' | |
# | |
for cmd in \ | |
elf2dmp ivshmem-client ivshmem-server qemu-aarch64 qemu-arm qemu-armeb \ | |
qemu-edid qemu-ga qemu-i386 qemu-img qemu-io qemu-keymap qemu-nbd qemu-ppc \ | |
qemu-ppc64 qemu-storage-daemon qemu-system-aarch64 qemu-system-arm \ | |
qemu-system-i386 qemu-system-ppc qemu-system-ppc64 qemu-system-x86_64 \ | |
qemu-x86_64 \ | |
; do | |
ln "$B/wrapper" "$D$BINDIR/$cmd" | |
done | |
} |