[OE-core] [PATCH 2/3] dhcp: move dhcp leases files handling to postinst/postrm

Otavio Salvador otavio at ossystems.com.br
Wed Feb 1 21:01:20 UTC 2012


On Wed, Feb 1, 2012 at 18:57, Phil Blundell <philb at gnu.org> wrote:

> On Wed, 2012-02-01 at 20:27 +0000, Otavio Salvador wrote:
> >  pkg_postinst_dhcp-server() {
> > +    install -d $D/${localstatedir}/lib/dhcp
>
> Is "install" guaranteed to be available on the target?  I would have
> thought "mkdir -p" would be better.
>

It worked on all images I tested. I have no strong opinions about it.

-- 
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/20120201/d1dcfeae/attachment-0002.html>


More information about the Openembedded-core mailing list