summaryrefslogtreecommitdiffstats
path: root/hosts/logi1/postinst
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-01-21 00:33:19 (EST)
committer P. J. McDermott <pj@pehjota.net>2018-01-21 00:36:00 (EST)
commitce035ab5792edf5501703126fd0128d1c1fe7abb (patch)
treeb0e46ed279c724516a426a07c46a6084e5997074 /hosts/logi1/postinst
parent38bca937ff1c037ce09a3be2a5b51cef122a56a1 (diff)
downloadpc-inst-ce035ab5792edf5501703126fd0128d1c1fe7abb.zip
pc-inst-ce035ab5792edf5501703126fd0128d1c1fe7abb.tar.gz
pc-inst-ce035ab5792edf5501703126fd0128d1c1fe7abb.tar.bz2
logi1: Override APT sources in conf file
And add security archive.
Diffstat (limited to 'hosts/logi1/postinst')
-rw-r--r--hosts/logi1/postinst14
1 files changed, 1 insertions, 13 deletions
diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst
index 48981e5..cd487dc 100644
--- a/hosts/logi1/postinst
+++ b/hosts/logi1/postinst
@@ -38,19 +38,7 @@ cat >"${target}/etc/modules" <<-EOF
# Disable mpd service.
in_target update-rc.d mpd disable
-# Add "deb-src" line as well as backports and debug symbols archives.
-cat >"${target}/etc/apt/sources.list" <<-EOF
- deb http://deb.debian.org/debian stretch main
- deb-src http://deb.debian.org/debian stretch main
- EOF
-cat >"${target}/etc/apt/sources.list.d/stretch-backports.list" <<-EOF
- deb http://deb.debian.org/debian stretch-backports main
- deb-src http://deb.debian.org/debian stretch-backports main
- EOF
-cat >"${target}/etc/apt/sources.list.d/stretch-debug.list" <<-EOF
- deb http://deb.debian.org/debian-debug stretch-debug main
- EOF
-in_target apt-get update || return 1
+# Install backported packages.
in_target apt-get -q -y install kicad/stretch-backports || return 1
in_target apt-get -q -y install tor/stretch-backports torsocks || return 1
in_target apt-get -q -y install libglib2.0-0-dbgsym libgtk-3-0-dbgsym || \