1 SUMMARY = "System unit to relabel resolve.conf"
3 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 SRC_URI = "file://resolv-conf-relabel.service"
7 inherit systemd allarch features_check
9 SYSTEMD_SERVICE:${PN} = "${BPN}.service"
11 REQUIRED_DISTRO_FEATURES = "systemd"
13 do_configure[noexec] = "1"
14 do_compile[noexec] = "1"
17 install -d ${D}${systemd_system_unitdir}
18 install -m 0644 ${WORKDIR}/resolv-conf-relabel.service ${D}${systemd_system_unitdir}/
21 FILES:${PN} += "${systemd_system_unitdir}"