summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-04-09 22:23:51 (EDT)
committer P. J. McDermott <pj@pehjota.net>2016-04-09 22:23:51 (EDT)
commit59ca728e9f4be0d22f0e8793858e1113db446b73 (patch)
treeda127b0f3c256e385d8bb736f260724f50e2dc84 /hosts
parent7173cf578adf77396706316dd3d8e32f513693ce (diff)
downloadpc-inst-59ca728e9f4be0d22f0e8793858e1113db446b73.zip
pc-inst-59ca728e9f4be0d22f0e8793858e1113db446b73.tar.gz
pc-inst-59ca728e9f4be0d22f0e8793858e1113db446b73.tar.bz2
cam1: Install wicd from sid
Diffstat (limited to 'hosts')
-rw-r--r--hosts/cam113
1 files changed, 11 insertions, 2 deletions
diff --git a/hosts/cam1 b/hosts/cam1
index 14537fd..f080e2b 100644
--- a/hosts/cam1
+++ b/hosts/cam1
@@ -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