From 7f1df7522d114fb9ef8bedc26c0ea3fbcd6b7e7c Mon Sep 17 00:00:00 2001 From: Scott Ellis Date: Sat, 14 Jun 2014 04:34:03 +0000 Subject: [PATCH] Remove deprecated update-modules from recipes Signed-off-by: Denys Dmytriyenko --- recipes-ti/dsplink/ti-dsplink.inc | 16 ---------------- .../ti-local-power-manager.inc | 13 ------------- recipes-ti/syslink/ti-syslink.inc | 16 ---------------- 3 files changed, 45 deletions(-) diff --git a/recipes-ti/dsplink/ti-dsplink.inc b/recipes-ti/dsplink/ti-dsplink.inc index ce7cbf97..fa1c9ddc 100644 --- a/recipes-ti/dsplink/ti-dsplink.inc +++ b/recipes-ti/dsplink/ti-dsplink.inc @@ -187,22 +187,6 @@ do_install () { PACKAGES =+ "ti-dsplink-module" FILES_ti-dsplink-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/dsplinkk.ko" -RDEPENDS_ti-dsplink-module += "update-modules" - -pkg_postinst_ti-dsplink-module () { -#!/bin/sh -if [ -n "$D" ]; then - exit 1 -fi - -depmod -a -update-modules || true -} - -pkg_postrm_ti-dsplink-module () { -#!/bin/sh -update-modules || true -} PACKAGES += "ti-dsplink-examples" RDEPENDS_ti-dsplink-examples_append = " ti-dsplink-module" diff --git a/recipes-ti/local-power-manager/ti-local-power-manager.inc b/recipes-ti/local-power-manager/ti-local-power-manager.inc index 9155c761..2f2b5256 100644 --- a/recipes-ti/local-power-manager/ti-local-power-manager.inc +++ b/recipes-ti/local-power-manager/ti-local-power-manager.inc @@ -113,19 +113,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGES += "ti-lpm-module" FILES_ti-lpm-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*lpm*ko" RDEPENDS_ti-lpm-module += "ti-dsplink-module" -RDEPENDS_ti-lpm-module += "update-modules" - -pkg_postinst_ti-lpm-module_append () { - if [ -n "$D" ]; then - exit 1 - fi - depmod -a - update-modules || true -} - -pkg_postrm_ti-lpm-module_append () { - update-modules || true -} PACKAGES += "ti-lpm-utils" RDEPENDS_ti-lpm-utils += "ti-lpm-module" diff --git a/recipes-ti/syslink/ti-syslink.inc b/recipes-ti/syslink/ti-syslink.inc index 70289d40..af5f896a 100644 --- a/recipes-ti/syslink/ti-syslink.inc +++ b/recipes-ti/syslink/ti-syslink.inc @@ -216,22 +216,6 @@ do_install () { PACKAGES =+ "ti-syslink-module" FILES_ti-syslink-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/syslink.ko" -RDEPENDS_ti-syslink-module += "update-modules" - -pkg_postinst_ti-syslink-module () { -#!/bin/sh -if [ -n "$D" ]; then - exit 1 -fi - -depmod -a -update-modules || true -} - -pkg_postrm_ti-syslink-module () { -#!/bin/sh -update-modules || true -} PACKAGES =+ "ti-syslink-examples" RRECOMMENDS_ti-syslink-examples_append = " ti-syslink-module"