summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2013-02-27 15:15:49 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2013-02-27 15:15:49 +0800
commit0c2d3c680b1d43d73e4187f326990ae900b9055b (patch)
tree0ea6af597027743f8369abad210ed7007324388b
parent4f2f74b781d939d5f0287c93cb0136a9c35fbcad (diff)
downloadmeta-selinux-0c2d3c680b1d43d73e4187f326990ae900b9055b.tar.gz
bind: use volatiles to create /var subdirs.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r--recipes-connectivity/bind/bind_9.8.1.bbappend10
-rw-r--r--recipes-connectivity/bind/files/volatiles.04_bind4
2 files changed, 14 insertions, 0 deletions
diff --git a/recipes-connectivity/bind/bind_9.8.1.bbappend b/recipes-connectivity/bind/bind_9.8.1.bbappend
new file mode 100644
index 0000000..530f166
--- /dev/null
+++ b/recipes-connectivity/bind/bind_9.8.1.bbappend
@@ -0,0 +1,10 @@
1PR .= ".1"
2
3FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
4
5SRC_URI += "file://volatiles.04_bind"
6
7do_install_append() {
8 install -d ${D}${sysconfdir}/default/volatiles
9 install -m 0644 ${WORKDIR}/volatiles.04_bind ${D}${sysconfdir}/default/volatiles/volatiles.04_bind
10}
diff --git a/recipes-connectivity/bind/files/volatiles.04_bind b/recipes-connectivity/bind/files/volatiles.04_bind
new file mode 100644
index 0000000..c6a8151
--- /dev/null
+++ b/recipes-connectivity/bind/files/volatiles.04_bind
@@ -0,0 +1,4 @@
1# <type> <owner> <group> <mode> <path> <linksource>
2d root root 0755 /var/run/named none
3d root root 0755 /var/run/bind/run none
4d root root 0755 /var/cache/bind none