FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI:append = " \
    file://blacklist.json \
    file://Lux-Baseboard.json \
    file://0001-Add-Status-interface-to-settableInterfaces.patch \
    "

do_install:append () {
    rm -rf ${D}/usr/share/entity-manager/configurations/*.json
    install -d ${D}${datadir}/${PN}
    install -d ${D}/usr/share/entity-manager/configurations
    install -m 0644 -D ${WORKDIR}/blacklist.json ${D}${datadir}/${PN}/blacklist.json
    install -m 0444 ${WORKDIR}/Lux-Baseboard.json ${D}/usr/share/entity-manager/configurations
}
