#!/bin/sh set -e if [ "$1" = install ] || [ "$1" = upgrade ]; then FILE="/usr/libexec/x86_64-linux-gnu/isa-support/test-ARMv8" # "exec >;command" instead of "command >" looks strange but regular # redirections don't fully work within qemu-user. ret=0;(exec >/dev/null 2>&1; "$FILE") || ret=$? if [ $ret -ne 0 ] && [ -n "$IGNORE_ISA" ]; then cat >&2 <&2 <&2 <