1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00
Files
Peter Kjellerstedt b971a3a77c oeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction
These tests verify that the correct files are left behind when systemd
is inherited and depending on whether the systemd and/or sysvinit distro
features are enabled.

(From OE-Core rev: 4ef25caa00ad08046567d0e7f4523486c3a256d0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00

18 lines
322 B
BlitzBasic

LICENSE = "MIT"
inherit allarch systemd update-rc.d
do_install() {
install -d ${D}${systemd_system_unitdir}
touch ${D}${systemd_system_unitdir}/${BPN}.service
install -d ${D}${INIT_D_DIR}
touch ${D}${INIT_D_DIR}/${BPN}
}
INITSCRIPT_NAME = "${BPN}"
SYSTEMD_SERVICE:${PN} = "${BPN}.service"
EXCLUDE_FROM_WORLD="1"