From 66c0f09824c4ad377751652133ff66c230c8251e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 20 Aug 2021 18:42:15 -0400 Subject: alsvid3: Override APT sources in conf file Switch from httpredir.debian.org to deb.debian.org: https://wiki.debian.org/DebianGeoMirror https://lists.debian.org/debian-mirrors/2017/02/msg00000.html And add bullseye-backports-debug. --- (limited to 'hosts/alsvid3/postinst') diff --git a/hosts/alsvid3/postinst b/hosts/alsvid3/postinst index 89858df..2767e60 100644 --- a/hosts/alsvid3/postinst +++ b/hosts/alsvid3/postinst @@ -30,19 +30,7 @@ cat >"${target}/boot/grub/libreboot_grub.cfg" <<-EOF # Disable mpd service. in_target update-rc.d mpd disable -# Add "deb-src" line and backports. -cat >"${target}/etc/apt/sources.list" <<-EOF - deb http://httpredir.debian.org/debian jessie main - deb-src http://httpredir.debian.org/debian jessie main - EOF -cat >"${target}/etc/apt/sources.list.d/jessie-backports.list" <<-EOF - deb http://httpredir.debian.org/debian jessie-backports main - deb-src http://httpredir.debian.org/debian jessie-backports main - EOF -cat >"${target}/etc/apt/sources.list.d/jessie-security.list" <<-EOF - deb http://security.debian.org/debian-security jessie/updates main - deb-src http://security.debian.org/debian-security jessie/updates main - EOF +# Install backported packages. in_target apt-get update || return 1 in_target apt-get -q -y install midori || return 1 in_target apt-get -q -y install youtube-dl/jessie-backports || return 1 -- cgit v0.9.1