summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/rsi-91x/rsi-91x-fw_2.5.1.bb6
1 files 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 ."