diff options
-rw-r--r-- | hosts/cam1 | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -66,7 +66,6 @@ postinst_pkgs=' slic3r printrun evince minicom htop ntp ncdu - wicd-daemon wicd-gtk wicd-curses wicd-cli gnome-calculator units fonts-mplus fonts-linuxlibertine fonts-freefont-ttf fonts-dejavu fonts-liberation @@ -85,13 +84,23 @@ do_postinst() printf 'vm.swappiness = 10\n' \ >"${target}/etc/sysctl.d/vm-swappiness.conf" - # Add "deb-src" line. + # Add "deb-src" line and sid. cat >"${target}/etc/apt/sources.list" <<-EOF deb http://httpredir.debian.org/debian stretch main deb-src http://httpredir.debian.org/debian stretch main + deb http://httpredir.debian.org/debian sid main + deb-src http://httpredir.debian.org/debian sid main + EOF + cat >"${target}/etc/apt/apt.conf" <<-EOF + APT::Default-Release "stretch"; EOF in_target apt-get update || return 1 + # Install wicd (removed from stretch/testing due to bug #816076, and + # also orphaned by bug #801253). + in_target apt-get -q -y install \ + wicd-daemon/sid wicd-gtk/sid wicd-curses/sid wicd-cli/sid + # Purge systemd. in_target apt-get -q -y purge libpam-systemd systemd || return 1 in_target apt-get -q -y --purge autoremove || return 1 |