xbee-init: fix xbee systemd service not executed on boot
The systemd class adds by default packages named ${PN} to the
SYSTEMD_PACKAGES variable, but in our case the package name is
'${PN}-init', so it needs to be added explicitly.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
07f1fa88f2
commit
38014d59de
|
|
@ -36,6 +36,7 @@ INITSCRIPT_PACKAGES += "${PN}-init"
|
||||||
INITSCRIPT_NAME_${PN}-init = "xbee-init"
|
INITSCRIPT_NAME_${PN}-init = "xbee-init"
|
||||||
INITSCRIPT_PARAMS_${PN}-init = "start 19 2 3 4 5 . stop 21 0 1 6 ."
|
INITSCRIPT_PARAMS_${PN}-init = "start 19 2 3 4 5 . stop 21 0 1 6 ."
|
||||||
|
|
||||||
|
SYSTEMD_PACKAGES = "${PN}-init"
|
||||||
SYSTEMD_SERVICE_${PN}-init = "xbee-init.service"
|
SYSTEMD_SERVICE_${PN}-init = "xbee-init.service"
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue