Skip to content

Instantly share code, notes, and snippets.

@RobGries
Created November 16, 2020 15:51
Show Gist options
  • Save RobGries/9f8bdf4050ae8e73f74e790bd4fa0d84 to your computer and use it in GitHub Desktop.
Save RobGries/9f8bdf4050ae8e73f74e790bd4fa0d84 to your computer and use it in GitHub Desktop.
avahi_0.6.31.bbappend
inherit update-rc.d
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://avahi-daemon.conf \
file://miku-rendezvous.service \
"
###install -m 0644 avahi-daemon.conf {D}${sysconfdir}/avahi
do_install_append() {
install -m 0644 ${WORKDIR}/miku-rendezvous.service ${D}${sysconfdir}/avahi/services
rm -f ${D}{sysconfdir}/avahi/services/multi.service
}
FILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf \
${sysconfdir}/avahi/services \
"
CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf"
INITSCRIPT_PACKAGES =+ "${PN}"
INITSCRIPT_NAME_${PN} = "avahi-daemon"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment