Skip to content

Commit 177cc8c

Browse files
committed
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 <[email protected]>
1 parent 84872cc commit 177cc8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

layers/meta-balena-5x-owa/recipes-support/resin-init/resin-init-flasher/sleep_for_provisioning.patch

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ Index: 1.0-r2/resin-init-flasher
22
===================================================================
33
--- 1.0-r2.orig/resin-init-flasher
44
+++ 1.0-r2/resin-init-flasher
5-
@@ -492,6 +492,8 @@ fi
5+
@@ -492,6 +492,9 @@ fi
66

77
report_progress 100 "Post-Provisioning"
88

9-
+ifconfig eth0 down && sleep 30
9+
+ifconfig eth0 down
10+
+sleep 120
1011
+
1112
_a='o'
1213
if [ "${POSTINSTALL_REBOOT}" = "1" ]; then

0 commit comments

Comments
 (0)