summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--patchroot.sh9
2 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a14d817..e3f38bd 100644
--- a/Makefile
+++ b/Makefile
@@ -193,7 +193,7 @@ endif
193 193
194FORCE: 194FORCE:
195 195
196debian_dist = stretch 196debian_dist := $(shell lsb_release -cs)
197 197
198apt_list_files = $(addprefix /./var/lib/apt/lists/, \ 198apt_list_files = $(addprefix /./var/lib/apt/lists/, \
199 *$(debian_dist)_main_binary* \ 199 *$(debian_dist)_main_binary* \
diff --git a/patchroot.sh b/patchroot.sh
index 54a37e2..8bd3269 100644
--- a/patchroot.sh
+++ b/patchroot.sh
@@ -1,9 +1,12 @@
1#!/bin/sh 1#!/bin/sh
2echo samizdat > /etc/hostname 2echo samizdat > /etc/hostname
3
4. /etc/os-release
5
3cat <<END > /etc/apt/sources.list 6cat <<END > /etc/apt/sources.list
4deb http://httpredir.debian.org/debian stretch main #contrib non-free 7deb http://httpredir.debian.org/debian ${VERSION_CODENAME} main #contrib non-free
5deb http://security.debian.org stretch/updates main #contrib non-free 8deb http://security.debian.org ${VERSION_CODENAME}/updates main #contrib non-free
6#deb http://httpredir.debian.org/debian stretch-backports main #contrib non-free 9#deb http://httpredir.debian.org/debian ${VERSION_CODENAME}-backports main #contrib non-free
7END 10END
8 11
9#apt-get update 12#apt-get update