mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
b971a3a77c
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>
18 lines
322 B
BlitzBasic
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"
|