[OE-core] [PATCH RFC v2] dhcp: package /var/lib/dhcp with dhcp-client rather than dhcp-server

Otavio Salvador otavio at ossystems.com.br
Sat Jan 7 10:44:54 UTC 2012


Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

On Sat, Jan 7, 2012 at 02:51, Steve Sakoman <steve at sakoman.com> wrote:

> Otherwise dhclient encounters errors of this type:
>
> dhclient: can't create
> /var/lib/dhcp/dhclient-c0c60402-0bc5-4bd7-bc3b-49a27fa37d72-eth1.lease: No
> such file or directory
>
> Signed-off-by: Steve Sakoman <steve at sakoman.com>
> ---
>  meta/recipes-connectivity/dhcp/dhcp.inc      |    4 ++--
>  meta/recipes-connectivity/dhcp/dhcp_4.2.0.bb |    2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-connectivity/dhcp/dhcp.inc
> b/meta/recipes-connectivity/dhcp/dhcp.inc
> index f9d80e7..be256ce 100644
> --- a/meta/recipes-connectivity/dhcp/dhcp.inc
> +++ b/meta/recipes-connectivity/dhcp/dhcp.inc
> @@ -59,14 +59,14 @@ PACKAGES += "dhcp-server dhcp-server-config
> dhcp-client dhcp-relay dhcp-omshell"
>
>  FILES_${PN} = ""
>
> -FILES_dhcp-server = "${sbindir}/dhcpd ${sysconfdir}/init.d/dhcp-server
> ${localstatedir}/lib/dhcp/"
> +FILES_dhcp-server = "${sbindir}/dhcpd ${sysconfdir}/init.d/dhcp-server"
>  RRECOMMENDS_dhcp-server = "dhcp-server-config"
>
>  FILES_dhcp-server-config = "${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/meta/recipes-connectivity/dhcp/dhcp_4.2.0.bbb/meta/recipes-connectivity/dhcp/
> dhcp_4.2.0.bb
> index 2471d61..a3a560b 100644
> --- a/meta/recipes-connectivity/dhcp/dhcp_4.2.0.bb
> +++ b/meta/recipes-connectivity/dhcp/dhcp_4.2.0.bb
> @@ -1,6 +1,6 @@
>  require dhcp.inc
>
> -PR = "r4"
> +PR = "r5"
>
>  SRC_URI += "file://fixincludes.patch \
>             file://dhcp-3.0.3-dhclient-dbus.patch;striplevel=0 \
> --
> 1.7.1
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120107/f2c94f8b/attachment-0002.html>


More information about the Openembedded-core mailing list