From e47778e17314e6d2a177c1df96bffc5db21c33b4 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Tue, 1 Mar 2016 20:15:11 +0100 Subject: Add preconfigured apt/sources.list Apparently debootstrap doesn't set up deb-src, "jessie-updates" or even security updates! It's a bit annoying to have to "hardcode" it like this. --- assets/package-manager/apt/sources.list | 20 ++++++++++++++++++++ vps-builder.scm | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 assets/package-manager/apt/sources.list diff --git a/assets/package-manager/apt/sources.list b/assets/package-manager/apt/sources.list new file mode 100644 index 0000000..1147787 --- /dev/null +++ b/assets/package-manager/apt/sources.list @@ -0,0 +1,20 @@ +# A good config when you're in the Netherlands +# TODO: Figure out a way to make it easier to set up local mirrors + +deb http://ftp.surfnet.nl/os/Linux/distr/debian/ jessie main contrib non-free +deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ jessie main contrib + +# Mirror +deb ftp://mirror.nl.leaseweb.net/debian/ jessie main contrib non-free +deb-src ftp://mirror.nl.leaseweb.net/debian/ jessie main contrib + +deb http://security.debian.org/ jessie/updates main contrib non-free +deb-src http://security.debian.org/ jessie/updates main contrib + +# jessie-updates, previously known as 'volatile' +deb http://ftp.surfnet.nl/os/Linux/distr/debian/ jessie-updates main contrib non-free +deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ jessie-updates main contrib + +# Mirror +deb ftp://mirror.nl.leaseweb.net/debian/ jessie-updates main contrib non-free +deb-src ftp://mirror.nl.leaseweb.net/debian/ jessie-updates main contrib diff --git a/vps-builder.scm b/vps-builder.scm index 845213c..1f45c3f 100644 --- a/vps-builder.scm +++ b/vps-builder.scm @@ -185,6 +185,9 @@ (install-file root-dir "assets/package-manager/apt/apt-settings" "/etc/apt/apt.conf.d/90custom-config" "root" "root" #o644) + (install-file root-dir "assets/package-manager/apt/sources.list" + "/etc/apt/sources.list" + "root" "root" #o644) (install-file root-dir "assets/fstab" "/etc/fstab" "root" "root" #o644) (install-file root-dir "assets/modprobe/blacklist.conf" -- cgit v1.2.3