1 SUMMARY = "System unit to relabel systemd generated files"
3 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 SRC_URI = "file://systemd-selinux-relabel.service \
6 file://systemd-selinux-relabel.sh \
9 inherit systemd allarch features_check
11 SYSTEMD_SERVICE:${PN} = "${BPN}.service"
13 REQUIRED_DISTRO_FEATURES = "systemd"
15 do_configure[noexec] = "1"
16 do_compile[noexec] = "1"
19 install -d ${D}${systemd_system_unitdir}
20 install -m 0644 ${WORKDIR}/systemd-selinux-relabel.service ${D}${systemd_system_unitdir}/
21 install -d ${D}${sbindir}
22 install -m 0755 ${WORKDIR}/systemd-selinux-relabel.sh ${D}${sbindir}/
25 FILES:${PN} += "${systemd_system_unitdir}"