summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind_9.10.3-P3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/bind/bind_9.10.3-P3.bb')
-rw-r--r--meta/recipes-connectivity/bind/bind_9.10.3-P3.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.10.3-P3.bb b/meta/recipes-connectivity/bind/bind_9.10.3-P3.bb
index da414c00da..fa057d52cf 100644
--- a/meta/recipes-connectivity/bind/bind_9.10.3-P3.bb
+++ b/meta/recipes-connectivity/bind/bind_9.10.3-P3.bb
@@ -42,7 +42,7 @@ PACKAGECONFIG[readline] = "--with-readline=-lreadline,,readline"
42PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit" 42PACKAGECONFIG[libedit] = "--with-readline=-ledit,,libedit"
43 43
44USERADD_PACKAGES = "${PN}" 44USERADD_PACKAGES = "${PN}"
45USERADD_PARAM_${PN} = "--system --home /var/cache/bind --no-create-home \ 45USERADD_PARAM_${PN} = "--system --home ${localstatedir}/cache/bind --no-create-home \
46 --user-group bind" 46 --user-group bind"
47 47
48INITSCRIPT_NAME = "bind" 48INITSCRIPT_NAME = "bind"
@@ -72,7 +72,7 @@ do_install_append() {
72 rm "${D}${mandir}/man1/nslookup.1" 72 rm "${D}${mandir}/man1/nslookup.1"
73 rmdir "${D}${localstatedir}/run" 73 rmdir "${D}${localstatedir}/run"
74 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" 74 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
75 install -d "${D}${localstatedir}/cache/bind" 75 install -d -o bind "${D}${localstatedir}/cache/bind"
76 install -d "${D}${sysconfdir}/bind" 76 install -d "${D}${sysconfdir}/bind"
77 install -d "${D}${sysconfdir}/init.d" 77 install -d "${D}${sysconfdir}/init.d"
78 install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/" 78 install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"
@@ -80,7 +80,6 @@ do_install_append() {
80 sed -i -e '1s,#!.*python,#! /usr/bin/env python,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds 80 sed -i -e '1s,#!.*python,#! /usr/bin/env python,' ${D}${sbindir}/dnssec-coverage ${D}${sbindir}/dnssec-checkds
81 81
82 # Install systemd related files 82 # Install systemd related files
83 install -d ${D}${localstatedir}/cache/bind
84 install -d ${D}${sbindir} 83 install -d ${D}${sbindir}
85 install -m 755 ${WORKDIR}/generate-rndc-key.sh ${D}${sbindir} 84 install -m 755 ${WORKDIR}/generate-rndc-key.sh ${D}${sbindir}
86 install -d ${D}${systemd_unitdir}/system 85 install -d ${D}${systemd_unitdir}/system