Last active
October 22, 2015 09:55
-
-
Save desc/5d108a500d44418a19b9 to your computer and use it in GitHub Desktop.
JESSIE: Install build packages in vagrant VM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| export DEBIAN_FRONTEND=noninteractive | |
| echo "Set APT repository for Debian Jessie" | |
| cat > /etc/apt/sources.list << 'EOF' | |
| deb http://httpredir.debian.org/debian jessie main contrib non-free | |
| deb-src http://httpredir.debian.org/debian jessie main contrib non-free | |
| deb http://security.debian.org/ jessie/updates main contrib non-free | |
| deb-src http://security.debian.org/ jessie/updates main contrib non-free | |
| deb http://httpredir.debian.org/debian jessie-updates main contrib non-free | |
| deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free | |
| EOF | |
| echo "Updating package list" | |
| apt-get -q update | |
| echo "Upgrading system to the latest version" | |
| apt-get -q -y --force-yes dist-upgrade | |
| echo "Installing required build packages" | |
| apt-get -q -y --force-yes install git git-buildpackage devscripts build-essential | |
| apt-get -q -y --force-yes install debhelper dh-systemd | |
| apt-get -q -y --force-yes install libxml-xpath-perl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment