diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-08-20 18:42:15 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-08-20 18:53:47 (EDT) |
commit | 66c0f09824c4ad377751652133ff66c230c8251e (patch) | |
tree | de42ecd58ed5f045ad644fe539f8c66930a681f3 /hosts/alsvid3/postinst | |
parent | d17e9091697cf286b9e44b168c693a21c05f7f97 (diff) | |
download | pc-inst-66c0f09824c4ad377751652133ff66c230c8251e.zip pc-inst-66c0f09824c4ad377751652133ff66c230c8251e.tar.gz pc-inst-66c0f09824c4ad377751652133ff66c230c8251e.tar.bz2 |
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.
Diffstat (limited to 'hosts/alsvid3/postinst')
-rw-r--r-- | hosts/alsvid3/postinst | 14 |
1 files changed, 1 insertions, 13 deletions
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 |