Install dependencies for apt-key before adding toolchain repo

This commit is contained in:
Jeremy Soller 2018-06-09 17:48:19 -06:00
parent 2bbe2fb675
commit 08b280f027

View file

@ -1,10 +1,11 @@
before_script: before_script:
- | - |
apt-get install -qq build-essential gnupg nasm pkg-config fuse libfuse-dev genisoimage syslinux realpath &&
apt-key adv -q --batch --yes --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F && apt-key adv -q --batch --yes --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F &&
add-apt-repository 'deb https://static.redox-os.org/toolchain/apt ./' && add-apt-repository 'deb https://static.redox-os.org/toolchain/apt ./' &&
apt-get update -qq && apt-get update -qq &&
apt-get purge -qq binutils-doc && apt-get purge -qq binutils-doc &&
apt-get install -qq build-essential nasm pkg-config fuse libfuse-dev genisoimage syslinux realpath x86-64-unknown-redox-gcc && apt-get install -qq x86-64-unknown-redox-gcc &&
modprobe fuse && modprobe fuse &&
chmod 666 /dev/fuse && chmod 666 /dev/fuse &&
chown root:$USER /etc/fuse.conf && chown root:$USER /etc/fuse.conf &&