From ce035ab5792edf5501703126fd0128d1c1fe7abb Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Jan 2018 00:33:19 -0500 Subject: logi1: Override APT sources in conf file And add security archive. --- (limited to 'hosts/logi1/postinst') 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 || \ -- cgit v0.9.1