Read about our upcoming Code of Conduct on this issue

Commit 20e57a7b authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU install: fix precompiled toolchain dependencies on recent Ubuntu

(todo: test on recent WSL)

--HG--
branch : qemu
parent cfe25bb87eee
...@@ -323,14 +323,14 @@ if [ -n "$(lsb_release -i 2>/dev/null | grep -E 'Ubuntu|Debian')" ]; then ...@@ -323,14 +323,14 @@ if [ -n "$(lsb_release -i 2>/dev/null | grep -E 'Ubuntu|Debian')" ]; then
echo echo
case $answer in case $answer in
1) 1)
if [ -z "$(uname -a | grep Microsoft)" ]; then # ask user for preferred toolchain
# ask user for preferred toolchain (non-WSL only) choose_toolchain
choose_toolchain
# precompiled toolchain has some additional dependencies
if [ "$TOOLCHAIN_ARCH" == "x86" ]; then if [ "$TOOLCHAIN_ARCH" == "x86" ]; then
# 32-bit toolchain has some additional dependencies packages="$packages libc6:i386 libncurses5:i386"
packages="$packages libc6:i386 libncurses5:i386" else
fi packages="$packages libc6 libncurses5"
fi fi
;; ;;
2) 2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment