From 3b46394957198eca62a27c2a6fc3b662214a2a4a Mon Sep 17 00:00:00 2001 From: Florin Sarbu Date: Thu, 31 Oct 2024 10:07:40 +0000 Subject: [PATCH] resin-init-flasher: Increase interval in which eth0 is down To give leviathan a bigger time window for checking the carrier is down Signed-off-by: Florin Sarbu --- .../resin-init-flasher/sleep_for_provisioning.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layers/meta-balena-5x-owa/recipes-support/resin-init/resin-init-flasher/sleep_for_provisioning.patch b/layers/meta-balena-5x-owa/recipes-support/resin-init/resin-init-flasher/sleep_for_provisioning.patch index 7ad4d14a..14dbc86d 100644 --- a/layers/meta-balena-5x-owa/recipes-support/resin-init/resin-init-flasher/sleep_for_provisioning.patch +++ b/layers/meta-balena-5x-owa/recipes-support/resin-init/resin-init-flasher/sleep_for_provisioning.patch @@ -2,11 +2,12 @@ Index: 1.0-r2/resin-init-flasher =================================================================== --- 1.0-r2.orig/resin-init-flasher +++ 1.0-r2/resin-init-flasher -@@ -492,6 +492,8 @@ fi +@@ -492,6 +492,9 @@ fi report_progress 100 "Post-Provisioning" -+ifconfig eth0 down && sleep 30 ++ifconfig eth0 down ++sleep 120 + _a='o' if [ "${POSTINSTALL_REBOOT}" = "1" ]; then