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
echo
case $answer in
1)
if [ -z "$(uname -a | grep Microsoft)" ]; then
# ask user for preferred toolchain (non-WSL only)
choose_toolchain
if [ "$TOOLCHAIN_ARCH" == "x86" ]; then
# 32-bit toolchain has some additional dependencies
packages="$packages libc6:i386 libncurses5:i386"
fi
# ask user for preferred toolchain
choose_toolchain
# precompiled toolchain has some additional dependencies
if [ "$TOOLCHAIN_ARCH" == "x86" ]; then
packages="$packages libc6:i386 libncurses5:i386"
else
packages="$packages libc6 libncurses5"
fi
;;
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