Module Name:    src
Committed By:   jmcneill
Date:           Thu Jul  1 17:32:07 UTC 2021

Modified Files:
        src/distrib/utils/embedded/conf: arm64.conf

Log Message:
port-evbarm/56274: no network on ec2 arm64 9.99.85

Add -w to dhcpcd_flags when running on EC2, since we need to wait for the
network to come up before contacting the metadata service.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/distrib/utils/embedded/conf/arm64.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/utils/embedded/conf/arm64.conf
diff -u src/distrib/utils/embedded/conf/arm64.conf:1.12 src/distrib/utils/embedded/conf/arm64.conf:1.13
--- src/distrib/utils/embedded/conf/arm64.conf:1.12	Fri Jul 17 15:16:34 2020
+++ src/distrib/utils/embedded/conf/arm64.conf	Thu Jul  1 17:32:07 2021
@@ -1,4 +1,4 @@
-# $NetBSD: arm64.conf,v 1.12 2020/07/17 15:16:34 jmcneill Exp $
+# $NetBSD: arm64.conf,v 1.13 2021/07/01 17:32:07 jmcneill Exp $
 # ARM64 customization script used by mkimage
 #
 board=arm64
@@ -29,6 +29,9 @@ mdnsd=YES
 devpubd=YES
 wscons=\$(dev_exists wsdisplay0)
 ec2_init=\$(dev_exists ena0)
+if checkyesno ec2_init ; then
+	dhcpcd_flags="\$dhcpcd_flags -w"
+fi
 EOF
 }
 

Reply via email to