Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Steve Sakoman <sakoman@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH RFC v2] dhcp: package /var/lib/dhcp with dhcp-client rather than dhcp-server
Date: Sun, 15 Jan 2012 21:36:38 -0800	[thread overview]
Message-ID: <4F13B766.9000802@linux.intel.com> (raw)
In-Reply-To: <CAGDS+nmvBbqc-GN9j-TBBTvRCu_nX-bbhHSi+6Ghu1UNNDjWcA@mail.gmail.com>

On 01/12/2012 01:56 PM, Steve Sakoman wrote:
> On Thu, Jan 12, 2012 at 12:47 PM, Saul Wold<sgw@linux.intel.com>  wrote:
>> On 01/11/2012 11:00 AM, Steve Sakoman wrote:
>>>
>>> On Sat, Jan 7, 2012 at 5:14 AM, Eric Bénard<eric@eukrea.com>    wrote:
>>>>
>>>> Hi,
>>>>
>>>> Le Fri,  6 Jan 2012 20:51:54 -0800,
>>>> Steve Sakoman<steve@sakoman.com>    a écrit :
>>>>>
>>>>> -FILES_dhcp-server = "${sbindir}/dhcpd ${sysconfdir}/init.d/dhcp-server
>>>>> ${localstatedir}/lib/dhcp/"
>>>>> +FILES_dhcp-server = "${sbindir}/dhcpd ${sysconfdir}/init.d/dhcp-server"
>>>>
>>>>
>>>> isn't this directory necessary for dhcp-server ?
>>>
>>>
>>> Sorry for the delay in responding!  I missed seeing your comment.
>>>
>>> Yes, both packages need this directory.  But the dhcp-server package
>>> init already creates it if it doesn't exist:
>>>
>> You can still have it in the dhcp-server Package as long as the attributes
>> (ownership, perm, ...) are the same and it's not a symlink, so please
>> include it with the FILES-dhcp-server.
>
> In my experience you can't add an item to more than one FILES spec.
>
> I just did the experiment of including it in both client and server
> FILES, and the directory only shows up it the one that occurs first,
> server in this case.
>
> I added the directory to the client FILES in my patch because I saw
> that the server init creates the directory if it doesn't exist.
>
> I still believe that the original patch is the best way to handle this.
>
Fair enough, should I consider this RFC patch now the real patch or will 
you resend?

Sau!

> Steve
>



  reply	other threads:[~2012-01-16  5:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-07  4:51 [PATCH RFC v2] dhcp: package /var/lib/dhcp with dhcp-client rather than dhcp-server Steve Sakoman
2012-01-07 10:44 ` Otavio Salvador
2012-01-07 13:14 ` Eric Bénard
2012-01-11 19:00   ` Steve Sakoman
2012-01-12 20:47     ` Saul Wold
2012-01-12 21:56       ` Steve Sakoman
2012-01-16  5:36         ` Saul Wold [this message]
2012-01-16 12:30 ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F13B766.9000802@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sakoman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox