summaryrefslogtreecommitdiff
path: root/recipes-support/dnsmasq/dnsmasq_%.bbappend
blob: 6aa39f8ecdb4112f82e645a7741d70bb2db31c1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += "\
            file://init.patch;patchdir=.. \
            file://default \
           "

do_install_append () {
    install -d ${D}${sysconfdir}/ ${D}${sysconfdir}/default
    install -m 755 ${WORKDIR}/default ${D}${sysconfdir}/default/dnsmasq
}

# init.d/dnsmasq conflicts with AEP.
CONFFILES_${PN} += "${sysconfdir}/init.d/dnsmasq"