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:15:49 +0800 |
| commit | 0c2d3c680b1d43d73e4187f326990ae900b9055b (patch) | |
| tree | 0ea6af597027743f8369abad210ed7007324388b | |
| parent | 4f2f74b781d939d5f0287c93cb0136a9c35fbcad (diff) | |
| download | meta-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.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 | ||
