summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-05-16 02:36:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-09 10:53:52 +0100
commit230830e09e4aea461d64c780d97375609c338ebd (patch)
treed8e3c445f2a8b2d08f7f305cee6a351e3948b61f /meta/recipes-connectivity
parentbc651f4b3a060589ccfbcacc2d159afafc023847 (diff)
downloadpoky-230830e09e4aea461d64c780d97375609c338ebd.tar.gz
bind: use /var/run/named instead of /var/run/bind/run
Change /var/run/bind/run to /var/run/named to avoid the following error message. chmod: cannot access '/var/run/bind/run': No such file or directory [YOCTO #4429] (From OE-Core master rev: a32c05f691ef5620516b2f84452fb5129e16bb14) (From OE-Core rev: 83b66167f77246b3942fead23900a192ab84dbac) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/bind/bind-9.8.1/conf.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch b/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch
index 6fea70ed15..2785c6a22f 100644
--- a/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch
+++ b/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch
@@ -270,8 +270,8 @@ diff -urN bind-9.3.1.orig/init.d bind-9.3.1/init.d
270+ # dirs under /var/run can go away on reboots. 270+ # dirs under /var/run can go away on reboots.
271+ mkdir -p /var/run/named 271+ mkdir -p /var/run/named
272+ mkdir -p /var/cache/bind 272+ mkdir -p /var/cache/bind
273+ chmod 775 /var/run/bind/run 273+ chmod 775 /var/run/named
274+ chown root:bind /var/run/bind/run >/dev/null 2>&1 || true 274+ chown root:bind /var/run/named >/dev/null 2>&1 || true
275+ 275+
276+ if [ ! -x /usr/sbin/named ]; then 276+ if [ ! -x /usr/sbin/named ]; then
277+ echo "named binary missing - not starting" 277+ echo "named binary missing - not starting"