From 2b9f8acdb477241f17aab9ddb858b48252b15986 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 5 Feb 2022 12:25:52 -0500 Subject: [PATCH] Added warning for binfmt-qemu-static if it is missing. --- build/build-stormux.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/build-stormux.sh b/build/build-stormux.sh index 78f4b4d..d8fbfcc 100755 --- a/build/build-stormux.sh +++ b/build/build-stormux.sh @@ -107,7 +107,11 @@ fi # make sure the needed tools are installed if [[ "$(uname -m)" == "x86_64" ]]; then if ! pacman -Q qemu-user-static &> /dev/null ; then - echo "Please install qemu-user-static before continuing." + echo "Please install qemu-user-static and binfmt-qemu-static before continuing." + exit 1 + fi + if ! pacman -Q binfmt-qemu-static &> /dev/null ; then + echo "Please install qemu-user-static and binfmt-qemu-static before continuing." exit 1 fi fi