diff --git a/build_debian.sh b/build_debian.sh index d7ff053581eb..48a06c759da8 100755 --- a/build_debian.sh +++ b/build_debian.sh @@ -372,6 +372,10 @@ allow-hotplug eth0 iface eth0 inet dhcp EOF +# Disable acpi power saving mode used by some CPUs +sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c 'echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf' +sudo LANG=C chroot $FILESYSTEM_ROOT /bin/bash -c 'echo "IdleAction=ignore" >> /etc/systemd/logind.conf' + sudo cp files/dhcp/rfc3442-classless-routes $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d sudo cp files/dhcp/sethostname $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/ sudo cp files/dhcp/graphserviceurl $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/