From b507527002f9567d41981b20bb1280f5f6322a2b Mon Sep 17 00:00:00 2001 From: Leon Steenkamp Date: Sun, 17 Jan 2021 19:34:51 +0200 Subject: [PATCH] [bootstrap] fix gcc-arm-none-eabi install (#6081) Add fix to extract archive to /opt rather than current directory which is /tmp --- script/bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bootstrap b/script/bootstrap index 35eab7248..7c10423b7 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -68,7 +68,7 @@ install_packages_apt() sudo apt-get --no-install-recommends install -y ca-certificates wget (cd /tmp \ && wget -c https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 \ - && tar xjf gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 \ + && tar xjf gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 -C /opt \ && rm gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 \ && sudo ln -s /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.) fi