Uber easy arch swap

This commit is contained in:
Ciro Santilli
2017-06-28 22:27:50 +01:00
parent e480b0fc64
commit 335b4be114
4 changed files with 14 additions and 9 deletions

View File

@@ -43,6 +43,7 @@ done
shift "$(($OPTIND - 1))"
extra_flags="$extra_flags $@"
./setoutarch "$arch"
buildroot_out_dir='./buildroot/output'
images_dir="$buildroot_out_dir/images"
qemu_common="\
@@ -83,7 +84,6 @@ case "$arch" in
"
;;
esac
echo "$cmd"
if "$debug" && ! "$nographic" && [ ! "$arch" = 'arm' ]; then
eval "$cmd" &>/dev/null &
# TODO: Ctrl +C gets sent to QEMU? Why? Does not happen if I run