From c70f9c22a88317f4a15a6be4b74dbf0dcdbf80ac Mon Sep 17 00:00:00 2001 From: Roger Monk Date: Fri, 20 Feb 2009 17:07:13 +0000 Subject: codec-engine: fix typo ti-dmai: make postinst only run in online mode --- packages/dsplink/ti-codec-engine_2.21.bb | 4 ++-- packages/dsplink/ti-dmai_1.20.bb | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'packages/dsplink') diff --git a/packages/dsplink/ti-codec-engine_2.21.bb b/packages/dsplink/ti-codec-engine_2.21.bb index 805715bd74..c2055c1495 100644 --- a/packages/dsplink/ti-codec-engine_2.21.bb +++ b/packages/dsplink/ti-codec-engine_2.21.bb @@ -8,7 +8,7 @@ RDEPENDS = "update-modules" inherit module # tconf from xdctools dislikes '.' in pwd :/ -PR = "r14" +PR = "r15" PV = "221" # Get CE tarball from TI website, place in sources and calculate @@ -219,7 +219,7 @@ PACKAGES =+ "ti-lpm-module ti-cmem-module ti-sdma-module ti-codec-engine-apps" FILES_ti-lpm-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*lpm*ko" FILES_ti-cmem-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/cmemk.ko" -FILES_ti-sdma-moduke = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/sdmak.ko" +FILES_ti-sdma-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/sdmak.ko" FILES_ti-codec-engine-apps = "${datadir}/ti-codec-engine/*" pkg_postinst_ti-lpm-module () { diff --git a/packages/dsplink/ti-dmai_1.20.bb b/packages/dsplink/ti-dmai_1.20.bb index 60a427cba2..0131407861 100644 --- a/packages/dsplink/ti-dmai_1.20.bb +++ b/packages/dsplink/ti-dmai_1.20.bb @@ -76,7 +76,10 @@ RRECOMMENDS_${PN} = "ti-dmai-apps" FILES_ti-dmai-apps = "${datadir}/ti-dmai/*" pkg_postinst_ti-dmai-apps () { - ln -sf /usr/share/ti-codec-combos/* $D/usr/share/ti-dmai/apps + if [ -n "$D" ]; then + exit 1 + fi + ln -sf /usr/share/ti-codec-combos/* /usr/share/ti-dmai/apps } INHIBIT_PACKAGE_STRIP = "1" -- cgit v1.2.3