[OE-core] [PATCH RFC v2] dhcp: package /var/lib/dhcp with dhcp-client rather than dhcp-server
Steve Sakoman
sakoman at gmail.com
Wed Jan 11 19:00:48 UTC 2012
On Sat, Jan 7, 2012 at 5:14 AM, Eric Bénard <eric at eukrea.com> wrote:
> Hi,
>
> Le Fri, 6 Jan 2012 20:51:54 -0800,
> Steve Sakoman <steve at 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:
case "$1" in
start)
echo -n "Starting DHCP server: "
test -d /var/lib/dhcp/ || mkdir -p /var/lib/dhcp/
So it should be no issue moving the /var/lib/dhcp FILE spec to the
dhcp-client package.
Steve
More information about the Openembedded-core
mailing list