summaryrefslogtreecommitdiff
path: root/scripts/0000-prepare-os.sh
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-10-24 14:50:52 +0200
committerFelix Morgner <felix.morgner@ost.ch>2025-10-24 14:50:52 +0200
commit552a0482af54cd856f14c8fa138fff63d4e0b926 (patch)
tree98a8961e8a765bff86d9798d80aa574189859fef /scripts/0000-prepare-os.sh
parent94d007b7bda07f0aa97ed5ae5e1b64bb8d6576f0 (diff)
downloadteachos-toolchain-552a0482af54cd856f14c8fa138fff63d4e0b926.tar.xz
teachos-toolchain-552a0482af54cd856f14c8fa138fff63d4e0b926.zip
toolchain: switch to semi-static toolchain
Diffstat (limited to 'scripts/0000-prepare-os.sh')
-rwxr-xr-xscripts/0000-prepare-os.sh25
1 files changed, 16 insertions, 9 deletions
diff --git a/scripts/0000-prepare-os.sh b/scripts/0000-prepare-os.sh
index 33b0deb..a2039ad 100755
--- a/scripts/0000-prepare-os.sh
+++ b/scripts/0000-prepare-os.sh
@@ -2,14 +2,21 @@
set -e
-pacman --noconfirm -Syu
+export DEBIAN_FRONTEND=noninteractive
-pacman --noconfirm --needed -S \
- base-devel \
- libelf \
- libmpc \
- zlib
+apt-get update
-pacman --noconfirm --needed --asdeps -S \
- gmp \
- mpfr
+apt-get install -y --no-install-recommends \
+ build-essential \
+ bison \
+ curl \
+ ca-certificates \
+ flex \
+ gawk \
+ libtool \
+ patch \
+ texinfo \
+ wget \
+ xz-utils
+
+rm -rf /var/lib/apt/lists/*