diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-11-05 14:11:44 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2021-11-22 12:23:16 -0500 |
commit | 000d0719ad6efb491403cc368083a0e58a8a7aef (patch) | |
tree | c1f72baf12817b557cc4803b3027dd19f578bd64 | |
parent | 87d3c3dd74b5d25f9a103025286c27a3b14db679 (diff) | |
download | meta-selinux-000d0719ad6efb491403cc368083a0e58a8a7aef.tar.gz |
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>
-rw-r--r-- | recipes-connectivity/bind/bind_selinux.inc | 7 | ||||
-rw-r--r-- | recipes-connectivity/bind/files/volatiles.04_bind | 4 |
2 files changed, 0 insertions, 11 deletions
diff --git a/recipes-connectivity/bind/bind_selinux.inc b/recipes-connectivity/bind/bind_selinux.inc index aa11005..948a377 100644 --- a/recipes-connectivity/bind/bind_selinux.inc +++ b/recipes-connectivity/bind/bind_selinux.inc | |||
@@ -1,11 +1,4 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
2 | |||
3 | SRC_URI += "file://volatiles.04_bind" | ||
4 | |||
5 | do_install:append() { | 1 | do_install:append() { |
6 | install -d ${D}${sysconfdir}/default/volatiles | ||
7 | install -m 0644 ${WORKDIR}/volatiles.04_bind ${D}${sysconfdir}/default/volatiles/04_bind | ||
8 | |||
9 | sed -i '/^\s*\/usr\/sbin\/rndc-confgen/a\ | 2 | sed -i '/^\s*\/usr\/sbin\/rndc-confgen/a\ |
10 | [ -x /sbin/restorecon ] && /sbin/restorecon -F /etc/bind/rndc.key' ${D}${sysconfdir}/init.d/bind | 3 | [ -x /sbin/restorecon ] && /sbin/restorecon -F /etc/bind/rndc.key' ${D}${sysconfdir}/init.d/bind |
11 | } | 4 | } |
diff --git a/recipes-connectivity/bind/files/volatiles.04_bind b/recipes-connectivity/bind/files/volatiles.04_bind deleted file mode 100644 index c6a8151..0000000 --- a/recipes-connectivity/bind/files/volatiles.04_bind +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
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 | ||