diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper')
| -rwxr-xr-x | meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper b/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper deleted file mode 100755 index f057d4eef0..0000000000 --- a/meta/recipes-devtools/qemu/qemu-helper/qemu-oe-bridge-helper +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # Copyright 2020 Garmin Ltd. or its subsidiaries | ||
| 3 | # | ||
| 4 | # SPDX-License-Identifier: GPL-2.0 | ||
| 5 | # | ||
| 6 | # Attempts to find and exec the host qemu-bridge-helper program | ||
| 7 | |||
| 8 | # If the QEMU_BRIDGE_HELPER variable is set by the user, exec it. | ||
| 9 | if [ -n "$QEMU_BRIDGE_HELPER" ]; then | ||
| 10 | exec "$QEMU_BRIDGE_HELPER" "$@" | ||
| 11 | fi | ||
| 12 | |||
| 13 | # Search common paths for the helper program | ||
| 14 | BN="qemu-bridge-helper" | ||
| 15 | PATHS="/usr/libexec/ /usr/lib/qemu/" | ||
| 16 | |||
| 17 | for p in $PATHS; do | ||
| 18 | if [ -e "$p/$BN" ]; then | ||
| 19 | exec "$p/$BN" "$@" | ||
| 20 | fi | ||
| 21 | done | ||
| 22 | |||
| 23 | echo "$BN not found!" > /dev/stderr | ||
| 24 | exit 1 | ||
| 25 | |||
