deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
-#deb http://ftp.debian.org/debian buster-backports main contrib non-free
\ No newline at end of file
+deb http://ftp.debian.org/debian buster-backports main contrib non-free
./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" user desktop "${system_name}"
./install_for_target.sh user desktop "${system_name}"
+# For hibernation on lid switch to work, we need a newer kernel on the EeePC,
+# see <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919227>.
+if [ "${system_name}" = "eeepc" ]; then
+ apt -y install -t buster-backports linux-image-amd64
+fi
+
# Set up printer.
lpadmin -p 'HP_Deskjet_F300_series' -m 'drv:///hpcups.drv/hp-deskjet_f300_series.ppd' -o 'OutputMode=NormalGray' -E
service cups restart