bind: use volatiles to create /var subdirs.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
This commit is contained in:
Xin Ouyang 2013-02-27 15:15:49 +08:00
parent 4f2f74b781
commit 0c2d3c680b
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,10 @@
PR .= ".1"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://volatiles.04_bind"
do_install_append() {
install -d ${D}${sysconfdir}/default/volatiles
install -m 0644 ${WORKDIR}/volatiles.04_bind ${D}${sysconfdir}/default/volatiles/volatiles.04_bind
}

View File

@ -0,0 +1,4 @@
# <type> <owner> <group> <mode> <path> <linksource>
d root root 0755 /var/run/named none
d root root 0755 /var/run/bind/run none
d root root 0755 /var/cache/bind none