Skip to contentSkip to conversation

dhcp: fix parsing warning

PATCH Superseded Martin Jansa 2 participants 4 messages Aug 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dhcp: fix parsing warning

* fixes:
WARNING: Variable key FILES_-client (/dhclient /dhclient-script /dhcp/dhclient.conf)
replaces original key FILES_dhcp-client ( /system/dhclient.service).

---
 meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend +3 -3
index 6c0fd02..7873e9f 100644
@@ -12,9 +12,9 @@ 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.0
#1 lore raw
Quoted 4 lines · On Wednesday 05 August 2015 17:13:41 Martin Jansa wrote:

* fixes:
WARNING: Variable key FILES_-client (/dhclient /dhclient-script
/dhcp/dhclient.conf) replaces original key FILES_dhcp-client ( /system/dhclient.service).

Yuck - is that really what it's printing, i.e. all variable references blank?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 7 lines · Paul Eggleton
Quoted 4 lines · On Wednesday 05 August 2015 17:13:41 Martin Jansa wrote:

* fixes:
WARNING: Variable key FILES_-client (/dhclient /dhclient-script
/dhcp/dhclient.conf) replaces original key FILES_dhcp-client ( /system/dhclient.service).

Yuck - is that really what it's printing, i.e. all variable references blank?

Sorry, will fix that.. don't copy&paste bitbake error messages in bash...

Quoted 8 lines

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

PATCH v2 1/1 dhcp: fix parsing warning

In reply to Paul Eggleton

* 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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend +3 -3
index 6c0fd02..7873e9f 100644
@@ -12,9 +12,9 @@ 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.0