Signed-off-by: Yao Xinpan <ya...@cn.fujitsu.com>
---
 meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb 
b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
index c7954e7..034b33b 100644
--- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
+++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
@@ -117,5 +117,10 @@ do_install () {
 
        install -d ${D}${includedir}
        install -m 0644 tcpd.h ${D}${includedir}/
+
+       install -d ${D}${sysconfdir}
+       touch ${D}${sysconfdir}/hosts.allow
+       touch ${D}${sysconfdir}/hosts.deny
 }
 
+FILES_${PN} += "${sysconfdir}/hosts.allow ${sysconfdir}/hosts.deny"
-- 
1.9.3

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to