Provide sources.list file for DEBIAN_STRETCH class to be able to use "-s stretch"
authorMichael Prokop <mika@grml.org>
Fri, 24 Feb 2017 09:49:29 +0000 (10:49 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 24 Feb 2017 10:11:16 +0000 (11:11 +0100)
Otherwise the suite (-s) option is rewritten to a non-existing
DEBIAN_STRETCH class which lacks the corresponding apt sources.list
file, resulting in no Debian mirror available in the chroot.

etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_STRETCH [new file with mode: 0644]

diff --git a/etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_STRETCH b/etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_STRETCH
new file mode 100644 (file)
index 0000000..f27cc7f
--- /dev/null
@@ -0,0 +1,11 @@
+# official debian repository:
+  deb     http://ftp.debian.org/debian/ stretch main contrib non-free
+  deb-src http://ftp.debian.org/debian/ stretch main contrib non-free
+
+# security updates:
+  deb     http://security.debian.org/ stretch/updates main contrib
+  deb-src http://security.debian.org/ stretch/updates main contrib
+
+# backports:
+  deb     http://ftp.debian.org/debian/ stretch-backports main contrib non-free
+  deb-src http://ftp.debian.org/debian/ stretch-backports main contrib non-free