Files
integ/base/dhcp/debian/bullseye/deb_patches/0001-dhclient-dhcp6-set-hostname.patch
pmp1 6cfb528a43 Update integ/base packages for Bullseye
Aligned the package layout with the concurrent Debian packaging
conventions. Relocated package files under 'debian/bullseye/' and removed legacy paths under 'debian/'.

Updated related build references to ensure compatibility with Bullseye.
ca-certificate
cluster-resource-agents
dhcp
dnsmasq
haproxy
libfdt
lighttpd
linuxptp
lvm2
lsb
openssl
pf-bb-config
stalld
synce4l
systemd
watchdog

Change-Id: Id31c289b6504433f2b739be614022cfed0c2a9b8
Signed-off-by: pmp1 <preetham.mp@windriver.com>
2025-11-18 23:05:43 -05:00

32 lines
956 B
Diff

From 023d0adcb43db65e64841af6349a0326d2cb1e14 Mon Sep 17 00:00:00 2001
From: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Date: Tue, 19 Apr 2022 11:58:01 +0300
Subject: [PATCH 1/2] dhclient: dhcp6 set hostname
The dhcp upstream commit 9261cb141 introduces a function
set_hostname() set host name, and the commit also implements
the DHCPv6 Handlers, so insert the set_hostname to the
BOUND6|RENEW6|REBIND6 implementation.
Signed-off-by: Yue Tao <yue.tao@windriver.com>
---
debian/dhclient-script.linux | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/dhclient-script.linux b/debian/dhclient-script.linux
index f9b734a..895116c 100644
--- a/debian/dhclient-script.linux
+++ b/debian/dhclient-script.linux
@@ -393,6 +393,8 @@ case "$reason" in
;;
BOUND6|RENEW6|REBIND6)
+ set_hostname
+
if [ "${new_ip6_address}" ]; then
# set leased IP
ip -6 addr add ${new_ip6_address} \
--
2.30.0