diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2013-02-27 15:15:49 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2013-02-27 15:25:27 +0800 |
commit | db4bb99eb4faddb7375d17d2235a8da87889218b (patch) | |
tree | 8b48575c56607162611fa772ef2a291f13a8bb54 /recipes-connectivity | |
parent | 8025c76eb8a02768c74399e7ba1dd360d6c088c7 (diff) | |
download | meta-selinux-db4bb99eb4faddb7375d17d2235a8da87889218b.tar.gz |
bind: use volatiles to create /var subdirs.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Diffstat (limited to 'recipes-connectivity')
-rw-r--r-- | recipes-connectivity/bind/bind_9.8.1.bbappend | 10 | ||||
-rw-r--r-- | recipes-connectivity/bind/files/volatiles.04_bind | 4 |
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 @@ | |||
1 | PR .= ".1" | ||
2 | |||
3 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
4 | |||
5 | SRC_URI += "file://volatiles.04_bind" | ||
6 | |||
7 | do_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> | ||
2 | d root root 0755 /var/run/named none | ||
3 | d root root 0755 /var/run/bind/run none | ||
4 | d root root 0755 /var/cache/bind none | ||