From 4473682e813507b70f0a946728f2f92f5f4f7d46 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 13 Dec 2022 00:41:15 -0600 Subject: Add /etc/init.d/rs9113 to rsi-91x-fw --- recipes-kernel/rsi-91x/rsi-91x-fw_2.5.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-kernel/rsi-91x/rsi-91x-fw_2.5.1.bb b/recipes-kernel/rsi-91x/rsi-91x-fw_2.5.1.bb index bde9849..50753f2 100644 --- a/recipes-kernel/rsi-91x/rsi-91x-fw_2.5.1.bb +++ b/recipes-kernel/rsi-91x/rsi-91x-fw_2.5.1.bb @@ -3,6 +3,7 @@ LICENSE = "BSD-3-Clause" PR = "r1" inherit allarch +inherit update-rc.d SRCREV = "v${PV}" SRC_URI = "git://github.com/SiliconLabs/RS911X-nLink-OSD.git;protocol=https \ @@ -15,15 +16,14 @@ SRC_URI = "git://github.com/SiliconLabs/RS911X-nLink-OSD.git;protocol=https \ file://rsi_91x.conf \ " S = "${WORKDIR}/git/" +ALLOW_EMPTY_rsi-91x-autostart = "1" PACKAGES =+ "rsi-91x-examples rsi-91x-reset rsi-91x-autostart" FILES_rsi-91x-examples = "/opt/rs9113/examples" -FILES_rsi-91x-autostart = "/etc/init.d/rs9113" -RDEPENDS_rsi-91x-autostart = "bash" FILES_rsi-91x-reset = "/etc/init.d/rs9113-reset" RDEPENDS_rsi-91x-reset = "bash" RDEPENDS_rsi-91x-fw = "bash" - +RDEPENDS_rsi-91x-autostart = "${PN}" INITSCRIPT_PACKAGES = "rsi-91x-autostart rsi-91x-reset" INITSCRIPT_NAME_rsi-91x-autostart = "rs9113" INITSCRIPT_PARAMS_rsi-91x-autostart = "start 50 S ." -- cgit v1.2.3