From: Philip Balister <[email protected]>

---
 recipes/dhcp/dhcp4.inc        |    5 ++++-
 recipes/dhcp/dhcp_4.1.1-P1.bb |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes/dhcp/dhcp4.inc b/recipes/dhcp/dhcp4.inc
index e2b2658..c7bf067 100644
--- a/recipes/dhcp/dhcp4.inc
+++ b/recipes/dhcp/dhcp4.inc
@@ -4,6 +4,8 @@ HOMEPAGE = "http://www.isc.org/";
 
 LICENSE = "ISC"
 
+INC_PR = "r1"
+
 SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \
            file://site.h \
           file://init-relay file://default-relay \
@@ -26,6 +28,7 @@ do_install_append () {
        install -d ${D}${sysconfdir}/init.d
        install -d ${D}${sysconfdir}/default
        install -d ${D}${sysconfdir}/dhcp
+       install -d ${D}${localstatedir}/lib/dhcp
        install -m 0755 ${WORKDIR}/init-relay 
${D}${sysconfdir}/init.d/dhcp-relay
        install -m 0644 ${WORKDIR}/default-relay 
${D}${sysconfdir}/default/dhcp-relay
        install -m 0755 ${WORKDIR}/init-server 
${D}${sysconfdir}/init.d/dhcp-server
@@ -46,7 +49,7 @@ FILES_${PN} = ""
 FILES_dhcp-server = "${sbindir}/dhcpd ${sysconfdir}/init.d/dhcp-server 
${sysconfdir}/default/dhcp-server ${sysconfdir}/dhcp/dhcpd.conf"
 FILES_dhcp-relay = "${sbindir}/dhcrelay ${sysconfdir}/init.d/dhcp-relay 
${sysconfdir}/default/dhcp-relay"
 
-FILES_dhcp-client = "${base_sbindir}/dhclient ${base_sbindir}/dhclient-script 
${sysconfdir}/dhcp/dhclient.conf"
+FILES_dhcp-client = "${base_sbindir}/dhclient ${base_sbindir}/dhclient-script 
${sysconfdir}/dhcp/dhclient.conf ${localstatedir}/lib/dhcp"
 RDEPENDS_dhcp-client = "bash"
 
 FILES_dhcp-omshell = "${bindir}/omshell"
diff --git a/recipes/dhcp/dhcp_4.1.1-P1.bb b/recipes/dhcp/dhcp_4.1.1-P1.bb
index ed5a31b..0bbf50c 100644
--- a/recipes/dhcp/dhcp_4.1.1-P1.bb
+++ b/recipes/dhcp/dhcp_4.1.1-P1.bb
@@ -1,6 +1,6 @@
 require dhcp4.inc
 
-PR = "r1"
+PR = "${INC_PR}.1"
 
 SRC_URI += "file://fixincludes.patch \
             file://dhcp-3.0.3-dhclient-dbus.patch;striplevel=0 \
-- 
1.7.2.3


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to