
This reverts commit 613fbf258f72042f912a1fde5608168b1068db36. Since this upversioned package updates the prefixlen to 128, and it will occur all hosts offline after booting off the controller-0. At the same time this issue will block the use of recent loads for both development and test activities. So we revert the patch firstly, and investigate deeply then send the new review and request of the upgraded patch with the appropriate offline fix. Closes-Bug: #1915050 Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Change-Id: I02ecaa1bda463efb38d9c32a47f2221d0de7f99d
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
From 484178cab006e67cc132eec2587e59c5605edac7 Mon Sep 17 00:00:00 2001
|
|
From: Scott Little <scott.little@windriver.com>
|
|
Date: Mon, 2 Oct 2017 15:25:05 -0400
|
|
Subject: WRS: dhclient-dhcp6-set-hostname.patch
|
|
|
|
---
|
|
SOURCES/dhclient-script | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/SOURCES/dhclient-script b/SOURCES/dhclient-script
|
|
index 87bad65..fb51eb5 100644
|
|
--- a/SOURCES/dhclient-script
|
|
+++ b/SOURCES/dhclient-script
|
|
@@ -653,6 +653,10 @@ dh6config() {
|
|
add_ipv6_addr_with_DAD
|
|
|
|
make_resolv_conf
|
|
+
|
|
+ if [ -n "${new_fqdn_hostname}" ] && need_hostname; then
|
|
+ hostname ${new_fqdn_hostname} || echo "See -nc option in dhclient(8) man page."
|
|
+ fi
|
|
;;
|
|
|
|
RENEW6|REBIND6)
|
|
@@ -670,6 +674,10 @@ dh6config() {
|
|
[ ! "${new_dhcp6_domain_search}" = "${old_dhcp6_domain_search}" ]; then
|
|
make_resolv_conf
|
|
fi
|
|
+
|
|
+ if [ -n "${new_fqdn_hostname}" ] && need_hostname; then
|
|
+ hostname ${new_fqdn_hostname} || echo "See -nc option in dhclient(8) man page."
|
|
+ fi
|
|
;;
|
|
|
|
DEPREF6)
|
|
--
|
|
2.7.4
|
|
|