blob: 3e02eb239a7e3fdb7b36e5f2cacbf4d4211cd3aa [file] [log] [blame]
#!/bin/bash -xe
sed -i '/^deb http:/ s/$/ contrib non-free/' /etc/apt/sources.list
echo "deb [trusted=yes] file://$DEPSBASE ./" >> /etc/apt/sources.list
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" >> /etc/apt/sources.list
echo 'Debug::pkgProblemResolver true;' > /etc/apt/apt.conf
cp -r /rootdir/build/lintian /usr/share/
cat /rootdir/build/bazel-release.pub.gpg | apt-key add -
cat /rootdir/packages/mendel-keyring/cloud-key.gpg | apt-key add -
cat /rootdir/packages/mendel-keyring/linux_signing_key.pub |apt-key add -
apt-get update