bind: remove volatile file

This file is not needed anymore as bind daemon will create them by
itself.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
Yi Zhao 2021-11-05 14:11:44 +08:00 committed by Joe MacDonald
parent 87d3c3dd74
commit 000d0719ad
2 changed files with 0 additions and 11 deletions

View File

@ -1,11 +1,4 @@
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/04_bind
sed -i '/^\s*\/usr\/sbin\/rndc-confgen/a\
[ -x /sbin/restorecon ] && /sbin/restorecon -F /etc/bind/rndc.key' ${D}${sysconfdir}/init.d/bind
}

View File

@ -1,4 +0,0 @@
# <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