Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/embedded/conf port-evbarm/56274: no network on...



details:   https://anonhg.NetBSD.org/src/rev/42a794834f87
branches:  trunk
changeset: 380025:42a794834f87
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Jul 01 17:32:07 2021 +0000

description:
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.

diffstat:

 distrib/utils/embedded/conf/arm64.conf |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d30d8187c89f -r 42a794834f87 distrib/utils/embedded/conf/arm64.conf
--- a/distrib/utils/embedded/conf/arm64.conf    Thu Jul 01 17:31:21 2021 +0000
+++ b/distrib/utils/embedded/conf/arm64.conf    Thu Jul 01 17:32:07 2021 +0000
@@ -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
 }
 



Home | Main Index | Thread Index | Old Index