Skip to contentSkip to conversation

dhcp: bbappend to use PN

meta-cloud-services Mark Asselstine 2 participants 2 messages Oct 14, 2015

lore
Share & tools
lore
#0 lore raw

From: Vu Tran <[email protected]>

Fix the following warning:

WARNING: Variable key FILES_${PN}-client (${base_sbindir}/dhclient ${base_sbindir}/dhclient-script ${sysconfdir}/dhcp/dhclient.conf ${base_sbindir}/dhclient-systemd-wrapper) replaces original key FILES_dhcp-client ( ${sysconfdir}/dhcp/dhclient-exit-hooks).

---
 recipes-connectivity/dhcp/dhcp_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-connectivity/dhcp/dhcp_%.bbappend +1 -1
index a23f7c9..7466056 100644
@@ -12,5 +12,5 @@ do_install_append () {
 
 }
 
-FILES_dhcp-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
+FILES_${PN}-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
                      "
Signature · 1 line
2.1.4
#1 lore raw
Quoted 3 lines · Mark Asselstine

From: Vu Tran <[email protected]>

Fix the following warning:

merged.

Bruce

Quoted 31 lines

WARNING: Variable key FILES_${PN}-client (${base_sbindir}/dhclient ${base_sbindir}/dhclient-script ${sysconfdir}/dhcp/dhclient.conf ${base_sbindir}/dhclient-systemd-wrapper) replaces original key FILES_dhcp-client ( ${sysconfdir}/dhcp/dhclient-exit-hooks).

---
 recipes-connectivity/dhcp/dhcp_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-connectivity/dhcp/dhcp_%.bbappend +1 -2
index a23f7c9..7466056 100644
@@ -12,5 +12,5 @@ do_install_append () {
 
 }
 
-FILES_dhcp-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
+FILES_${PN}-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
                      "
--

2.1.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"