]> code.ossystems Code Review - openembedded-core.git/commit
bind: build with threads and update configure options
authorKai Kang <kai.kang@windriver.com>
Fri, 19 May 2017 08:52:46 +0000 (16:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 May 2017 14:15:14 +0000 (15:15 +0100)
commit598e5da5a2af2bd93ad890687dd32009e348fc85
tree07b1cac2c0351955c299193e299f06a652d98a49
parentdde83ec778c09557d28b4388258e594be653875c
bind: build with threads and update configure options

Build without threads for bind is inherited from legacy openembedded.
All libc's support proper threading on Linux now, so enable threads
support for bind.

It is also need to disable static library build which cause package dhcp
fail to build after enable bind threads support.

Options devpoll and epoll are configured to choose most preferable
multiplex method for unix socket. The priorities are: epoll > poll >
select. When set '--enable-epoll', it just defines a var and include
header file that is available for cross compile. So use epoll for bind.

Add PACKAGECONFIG 'urandom' that could use /dev/urandom as random device.

Update file/directory ownerships to fix daemon start failure.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/bind/bind/generate-rndc-key.sh
meta/recipes-connectivity/bind/bind_9.10.3-P3.bb