mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
bind: use volatiles to create /var subdirs.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
This commit is contained in:
parent
4f2f74b781
commit
0c2d3c680b
10
recipes-connectivity/bind/bind_9.8.1.bbappend
Normal file
10
recipes-connectivity/bind/bind_9.8.1.bbappend
Normal 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
|
||||
}
|
||||
4
recipes-connectivity/bind/files/volatiles.04_bind
Normal file
4
recipes-connectivity/bind/files/volatiles.04_bind
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user