From 0a7e7c888295238d3734f5a85b3e92c35ca7969f Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Tue, 27 Jul 2021 12:22:44 +0800 Subject: ifupdown: added -1 option to dhclient for dhcpv6 When dhclient is used with ifupdown and in the /etc/network/interfaces file is something like e.g. "iface eth0 inet6 dhcp" the system does not boot but hangs at the after dhcp configuration of IPv4 at the stage where IPv6 should be configured. The reason seems to be, that ifupdown calls the dhclient in a blocking way which leads to a permanent block of the boot when no DHCPv6 server is available. A similar bug in Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=585047 [YOCTO #14117] (From OE-Core rev: 6d8bf12bffa146cb51153a79a4b96b05298c4fbf) Signed-off-by: Yi Zhao Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- meta/recipes-core/ifupdown/ifupdown_0.8.35.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-core/ifupdown/ifupdown_0.8.35.bb') diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb index ae175848b7..16807eb675 100644 --- a/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb +++ b/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb @@ -12,6 +12,7 @@ SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https \ file://99_network \ file://0001-Define-FNM_EXTMATCH-for-musl.patch \ file://0001-Makefile-do-not-use-dpkg-for-determining-OS-type.patch \ + file://0001-inet6.defn-Added-1-option-to-dhclient-on-upping-an-i.patch \ file://run-ptest \ ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'file://tweak-ptest-script.patch', '', d)} \ " -- cgit v1.2.3-54-g00ecf