[meta-selinux,3/3] bind: install volatiles file with correct name

Submitted by Yi Zhao on April 4, 2020, 2:58 p.m. | Patch ID: 171620

Details

Message ID 20200404145808.8373-3-yi.zhao@windriver.com
State New
Headers show

Commit Message

Yi Zhao April 4, 2020, 2:58 p.m.
Install volatiles file as 04_bind rather than volatiles.04_bind.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 recipes-connectivity/bind/bind_selinux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/recipes-connectivity/bind/bind_selinux.inc b/recipes-connectivity/bind/bind_selinux.inc
index 1dfef8a..1be9260 100644
--- a/recipes-connectivity/bind/bind_selinux.inc
+++ b/recipes-connectivity/bind/bind_selinux.inc
@@ -4,7 +4,7 @@  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
+	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