Skip to contentSkip to conversation

dhcp: fix build error

PATCH Applied Bian Naimeng 2 participants 2 messages Jun 19, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dhcp: fix build error

dhcp in oe-core has been upgrade to 4.3.2, so the following error will be caught.

ERROR: No recipes available for:
/yocto/meta-cloud-services/recipes-connectivity/dhcp/dhcp_4.3.1.bbappend

---
 recipes-connectivity/dhcp/dhcp_%.bbappend     | 16 ++++++++++++++++
 recipes-connectivity/dhcp/dhcp_4.3.1.bbappend | 16 ----------------
 2 files changed, 16 insertions(+), 16 deletions(-)
 create mode 100644 recipes-connectivity/dhcp/dhcp_%.bbappend
 delete mode 100644 recipes-connectivity/dhcp/dhcp_4.3.1.bbappend
recipes-connectivity/dhcp/dhcp_%.bbappend new file +16 -0
new file mode 100644
index 0000000..a23f7c9
@@ -0,0 +1,16 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI += "file://dhclient-exit-hooks \
+           "
+
+do_install_append () {
+	install -m 0644 ${WORKDIR}/dhclient-exit-hooks ${D}${sysconfdir}/dhcp/dhclient-exit-hooks
+	sed 's%/etc/dhclient-exit-hooks%/etc/dhcp/dhclient-exit-hooks%g' -i ${D}${base_sbindir}/dhclient-script
+
+	sed 's%request .*%\noption classless-static-routes code 121 = array of unsigned integer 8;\n\n&%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
+	sed 's%netbios-name-servers,.*netbios-scope;%netbios-name-servers, netbios-scope, classless-static-routes;\n%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
+
+}
+
+FILES_dhcp-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
+                     "
recipes-connectivity/dhcp/dhcp_4.3.1.bbappend deleted +0 -16
deleted file mode 100644
index a23f7c9..0000000
@@ -1,16 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-
-SRC_URI += "file://dhclient-exit-hooks \
-           "
-
-do_install_append () {
-	install -m 0644 ${WORKDIR}/dhclient-exit-hooks ${D}${sysconfdir}/dhcp/dhclient-exit-hooks
-	sed 's%/etc/dhclient-exit-hooks%/etc/dhcp/dhclient-exit-hooks%g' -i ${D}${base_sbindir}/dhclient-script
-
-	sed 's%request .*%\noption classless-static-routes code 121 = array of unsigned integer 8;\n\n&%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
-	sed 's%netbios-name-servers,.*netbios-scope;%netbios-name-servers, netbios-scope, classless-static-routes;\n%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
-
-}
-
-FILES_dhcp-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
-                     "
Signature · 1 line
1.8.4.2
#1 lore raw
Quoted 4 lines · Bian Naimeng

dhcp in oe-core has been upgrade to 4.3.2, so the following error will be caught.

ERROR: No recipes available for:
/yocto/meta-cloud-services/recipes-connectivity/dhcp/dhcp_4.3.1.bbappend

merged to branches master and fido-kilo.

Bruce

Quoted 61 lines
---
 recipes-connectivity/dhcp/dhcp_%.bbappend     | 16 ++++++++++++++++
 recipes-connectivity/dhcp/dhcp_4.3.1.bbappend | 16 ----------------
 2 files changed, 16 insertions(+), 16 deletions(-)
 create mode 100644 recipes-connectivity/dhcp/dhcp_%.bbappend
 delete mode 100644 recipes-connectivity/dhcp/dhcp_4.3.1.bbappend
recipes-connectivity/dhcp/dhcp_%.bbappend new file +16 -0
new file mode 100644
index 0000000..a23f7c9
@@ -0,0 +1,16 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+SRC_URI += "file://dhclient-exit-hooks \
+           "
+
+do_install_append () {
+       install -m 0644 ${WORKDIR}/dhclient-exit-hooks ${D}${sysconfdir}/dhcp/dhclient-exit-hooks
+       sed 's%/etc/dhclient-exit-hooks%/etc/dhcp/dhclient-exit-hooks%g' -i ${D}${base_sbindir}/dhclient-script
+
+       sed 's%request .*%\noption classless-static-routes code 121 = array of unsigned integer 8;\n\n&%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
+       sed 's%netbios-name-servers,.*netbios-scope;%netbios-name-servers, netbios-scope, classless-static-routes;\n%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
+
+}
+
+FILES_dhcp-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
+                     "
recipes-connectivity/dhcp/dhcp_4.3.1.bbappend deleted +0 -17
deleted file mode 100644
index a23f7c9..0000000
@@ -1,16 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-
-SRC_URI += "file://dhclient-exit-hooks \
-           "
-
-do_install_append () {
-       install -m 0644 ${WORKDIR}/dhclient-exit-hooks ${D}${sysconfdir}/dhcp/dhclient-exit-hooks
-       sed 's%/etc/dhclient-exit-hooks%/etc/dhcp/dhclient-exit-hooks%g' -i ${D}${base_sbindir}/dhclient-script
-
-       sed 's%request .*%\noption classless-static-routes code 121 = array of unsigned integer 8;\n\n&%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
-       sed 's%netbios-name-servers,.*netbios-scope;%netbios-name-servers, netbios-scope, classless-static-routes;\n%g' -i ${D}${sysconfdir}/dhcp/dhclient.conf
-
-}
-
-FILES_dhcp-client += "${sysconfdir}/dhcp/dhclient-exit-hooks \
-                     "
--

1.8.4.2

--
_______________________________________________
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"