Skip to contentSkip to conversation

dhcp: fix parsing warning

PATCH In review Martin Jansa 2 participants 2 messages Sep 15, 2015 – Sep 17, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dhcp: fix parsing warning

From: Martin Jansa <[email protected]>

* fixes:
WARNING: Variable key FILES_${PN}-client (${base_sbindir}/dhclient ${base_sbindir}/dhclient-script ${sysconfdir}/dhcp/dhclient.conf)

    replaces original key FILES_dhcp-client ( ${systemd_unitdir}/system/dhclient.service).
---
 meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend +4 -4
index 6c0fd02..94d7bd6 100644
@@ -5,16 +5,16 @@ SYSTEMD_PACKAGES += "dhcp-client"
 SYSTEMD_SERVICE_dhcp-client = "dhclient.service"
 SYSTEMD_AUTO_ENABLE_dhcp-client = "disable"
 
-FILES_dhcp-client += "${systemd_unitdir}/system/dhclient.service"
+FILES_${PN}-client += "${systemd_unitdir}/system/dhclient.service"
 RPROVIDES_dhcp-server += "dhcp-server-systemd"
 RREPLACES_dhcp-server += "dhcp-server-systemd"
 RCONFLICTS_dhcp-server += "dhcp-server-systemd"
 RPROVIDES_dhcp-relay += "dhcp-relay-systemd"
 RREPLACES_dhcp-relay += "dhcp-relay-systemd"
 RCONFLICTS_dhcp-relay += "dhcp-relay-systemd"
-RPROVIDES_dhcp-client += "dhcp-client-systemd"
-RREPLACES_dhcp-client += "dhcp-client-systemd"
-RCONFLICTS_dhcp-client += "dhcp-client-systemd"
+RPROVIDES_${PN}-client += "dhcp-client-systemd"
+RREPLACES_${PN}-client += "dhcp-client-systemd"
+RCONFLICTS_${PN}-client += "dhcp-client-systemd"
 
 SRC_URI += "file://dhclient.service"
 
Signature · 1 line
2.5.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Martin Jansa

From: Martin Jansa <[email protected]>

* fixes:
WARNING: Variable key FILES_${PN}-client (${base_sbindir}/dhclient ${base_sbindir}/dhclient-script ${sysconfdir}/dhcp/dhclient.conf)

    replaces original key FILES_dhcp-client ( ${systemd_unitdir}/system/dhclient.service).
Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750