diff options
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 10 | ||||
-rw-r--r-- | recipes-bsp/multitech/mts-io/mts-io.blacklist | 1 |
2 files changed, 9 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc index f742ff4..6d93879 100644 --- a/recipes-bsp/multitech/mts-io.inc +++ b/recipes-bsp/multitech/mts-io.inc @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://io-module/COPYING;md5=94d55d512a9ba36caa9b7df079bae19 file://io-tool/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ " DEPENDS = "virtual/kernel" -INC_PR = "r4" +INC_PR = "r1" SRCREV = "${PV}" @@ -17,6 +17,7 @@ SRC_URI = " \ file://led-status_heartbeat_trigger \ file://lora-led-updater \ file://mts-io.init \ + file://mts-io.blacklist \ file://mts-io.mtcap.init \ file://mts-io.conf \ " @@ -47,7 +48,10 @@ do_compile () { PACKAGES = "${PN}-noarch kernel-module-${PN} ${PN}-util ${PN}-util-dbg ${PN}-dev" -FILES_kernel-module-${PN} = "${base_libdir}/modules/${KERNEL_VERSION}/extra/mts_io.ko" +FILES_kernel-module-${PN} = " \ + ${base_libdir}/modules/${KERNEL_VERSION}/extra/mts_io.ko \ + ${sysconfdir}/modprobe.d/mts-io.conf \ +" FILES_${PN}-noarch = "${sysconfdir}/init.d/mts-io \ ${sysconfdir}/rc5.d/S95led-status_heartbeat_trigger \ @@ -93,6 +97,8 @@ fakeroot do_install () { install -m 0755 ${WORKDIR}/led-status_heartbeat_trigger ${D}/${sysconfdir}/init.d/ install -d ${D}${sysconfdir}/default install -m 0755 ${WORKDIR}/mts-io.conf ${D}${sysconfdir}/default/mts-io + install -d ${D}${sysconfdir}/modprobe.d + install -m 0644 ${WORKDIR}/mts-io.blacklist ${D}${sysconfdir}/modprobe.d/mts-io.conf # blink status LED after booted install -d ${D}${sysconfdir}/rc5.d diff --git a/recipes-bsp/multitech/mts-io/mts-io.blacklist b/recipes-bsp/multitech/mts-io/mts-io.blacklist new file mode 100644 index 0000000..7421ac4 --- /dev/null +++ b/recipes-bsp/multitech/mts-io/mts-io.blacklist @@ -0,0 +1 @@ +blacklist mts-io |