From 04072c357247ae321a9f9042a47a1cfb9af0446c Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Wed, 14 Dec 2016 10:46:40 +0200 Subject: stretch: add workaround for 90s delay to wait for devices to be online Until we have a proper fix, use this workaround to avoid hitting 90s timeout. Change-Id: Iffa8ef2b3977da533e50161645f21d3395923f2e Signed-off-by: Fathi Boudra --- .../customization/hooks/22-disable-systemd-services.chroot | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 stretch-arm64-alip/customization/hooks/22-disable-systemd-services.chroot (limited to 'stretch-arm64-alip') diff --git a/stretch-arm64-alip/customization/hooks/22-disable-systemd-services.chroot b/stretch-arm64-alip/customization/hooks/22-disable-systemd-services.chroot new file mode 100755 index 0000000..35f609f --- /dev/null +++ b/stretch-arm64-alip/customization/hooks/22-disable-systemd-services.chroot @@ -0,0 +1,9 @@ +#!/bin/bash + +# workaround 90s delay +services=(NetworkManager systemd-networkd) +for service in ${services[@]}; do + systemctl disable ${service}-wait-online.service +done + +ln -sf /dev/null /etc/systemd/system/multi-user.target.wants/wpa_supplicant@.service -- cgit v1.2.3