mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 20:02:24 +02:00
dhcp:"dhclient -x eth0" action is not correct.
The action of "dhclient -x eth0" and "dhclient -r eth0" is same when enable ENABLE_GENTLE_SHUTDOWN. Disable ENABLE_GENTLE_SHUTDOWN that will use the default signal hander. (From OE-Core rev: 8e5c85332f222efd5ffddaa9da9272c6e42881f5) Signed-off-by: Jiping Ma <jiping.ma2@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c07435a83a
commit
fd1cfea5be
@@ -1,27 +0,0 @@
|
||||
From 01641d146e4e6bea954e4a4ee1f6230b822665b4 Mon Sep 17 00:00:00 2001
|
||||
From: Chen Qi <Qi.Chen@windriver.com>
|
||||
Date: Tue, 15 Aug 2017 15:37:49 +0800
|
||||
Subject: [PATCH 06/11] site.h: enable gentle shutdown
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
||||
|
||||
Rebase to 4.3.6
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
includes/site.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: dhcp-4.4.1/includes/site.h
|
||||
===================================================================
|
||||
--- dhcp-4.4.1.orig/includes/site.h
|
||||
+++ dhcp-4.4.1/includes/site.h
|
||||
@@ -295,7 +295,7 @@
|
||||
situations. We plan to revisit this feature and may
|
||||
make non-backwards compatible changes including the
|
||||
removal of this define. Use at your own risk. */
|
||||
-/* #define ENABLE_GENTLE_SHUTDOWN */
|
||||
+#define ENABLE_GENTLE_SHUTDOWN
|
||||
|
||||
/* Include old error codes. This is provided in case you
|
||||
are building an external program similar to omshell for
|
||||
@@ -5,7 +5,6 @@ SRC_URI += "file://0001-define-macro-_PATH_DHCPD_CONF-and-_PATH_DHCLIENT_CON.pat
|
||||
file://0003-link-with-lcrypto.patch \
|
||||
file://0004-Fix-out-of-tree-builds.patch \
|
||||
file://0005-dhcp-client-fix-invoke-dhclient-script-failed-on-Rea.patch \
|
||||
file://0006-site.h-enable-gentle-shutdown.patch \
|
||||
file://0007-Add-configure-argument-to-make-the-libxml2-dependenc.patch \
|
||||
file://0009-remove-dhclient-script-bash-dependency.patch \
|
||||
file://0012-dhcp-correct-the-intention-for-xml2-lib-search.patch \
|
||||
|
||||
Reference in New Issue
Block a user