[meta-virtualization] [PATCH 2/4] dnsmasq: don't mess with the system config file

Mark Asselstine mark.asselstine at windriver.com
Tue Nov 22 10:56:14 PST 2016


The system/default config file for dnsmasq is used by several
different packages to configure various instances of dnsmasq. Ideally
this file should be 'empty' allowing the dnsmasq to start with the
settings it has built in to it. If specific settings are required
instead of using the system/default config file a package specific
config should be created and used, we see this with libvirt for
example.

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 recipes-support/dnsmasq/dnsmasq_2.%.bbappend | 5 -----
 1 file changed, 5 deletions(-)
 delete mode 100644 recipes-support/dnsmasq/dnsmasq_2.%.bbappend

diff --git a/recipes-support/dnsmasq/dnsmasq_2.%.bbappend b/recipes-support/dnsmasq/dnsmasq_2.%.bbappend
deleted file mode 100644
index 8d66ca6..0000000
--- a/recipes-support/dnsmasq/dnsmasq_2.%.bbappend
+++ /dev/null
@@ -1,5 +0,0 @@
-# dnsmasq is greedy with interfaces by default using bind-dynamic will
-# make it less greedy but still function as it did by default.
-do_install_append() {
-    sed -i '/#bind-interfaces/a # Play nice with libvirt\nbind-dynamic' ${D}${sysconfdir}/dnsmasq.conf
-}
-- 
2.7.4



More information about the meta-virtualization mailing list