diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/alsvid3/conf | 13 | ||||
-rw-r--r-- | hosts/alsvid3/postinst | 14 |
2 files changed, 14 insertions, 13 deletions
diff --git a/hosts/alsvid3/conf b/hosts/alsvid3/conf index f8aac3f..1d2edd0 100644 --- a/hosts/alsvid3/conf +++ b/hosts/alsvid3/conf @@ -18,6 +18,19 @@ extra_pkgs=' linux-image-amd64 sysvinit-core ' +apt_sources=' + deb http://deb.debian.org/debian bullseye main + deb-src http://deb.debian.org/debian bullseye main + + deb http://security.debian.org/debian-security bullseye-security main + deb-src http://security.debian.org/debian-security bullseye-security main + + deb http://deb.debian.org/debian bullseye-backports main + deb-src http://deb.debian.org/debian bullseye-backports main + + deb http://deb.debian.org/debian-debug bullseye-debug main + deb http://deb.debian.org/debian-debug bullseye-backports-debug main + ' locale='en_US' supported_locales='en_US.UTF-8 en_DK.UTF-8' 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 |