With a udev rule to invoke /etc/udev/scripts/mount.sh we no longer need
the mount-sdcard package to handle this for us, so remove it.

Signed-off-by: Tom Rini <[email protected]>
---
 .../packagegroup-arago-tisdk-amsdk.bb              |    3 +-
 .../recipes-tisdk/mount-sdcard/mount-sdcard.bb     |   30 --------------------
 .../recipes-tisdk/mount-sdcard/mount-sdcard/init   |   20 -------------
 3 files changed, 1 insertion(+), 52 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-tisdk/mount-sdcard/mount-sdcard.bb
 delete mode 100644 
meta-arago-distro/recipes-tisdk/mount-sdcard/mount-sdcard/init

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk.bb
index ad32656..c2eb72b 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install additional packages only used in the Arago SDK"
 LICENSE = "MIT"
-PR = "r8"
+PR = "r9"
 
 inherit packagegroup
 
@@ -23,7 +23,6 @@ EXTRA_APPLICATIONS = "\
 "
 
 RDEPENDS_${PN} = "\
-    mount-sdcard \
     ${OOBE} \
     ${EXTRA_APPLICATIONS} \
 "
diff --git a/meta-arago-distro/recipes-tisdk/mount-sdcard/mount-sdcard.bb 
b/meta-arago-distro/recipes-tisdk/mount-sdcard/mount-sdcard.bb
deleted file mode 100644
index 29ff489..0000000
--- a/meta-arago-distro/recipes-tisdk/mount-sdcard/mount-sdcard.bb
+++ /dev/null
@@ -1,30 +0,0 @@
-# This recipe is meant to be a temporary fix until we can figure out why
-# the SD card partitions are not automounted anymore.
-
-DESCRIPTION = "Script to mount SD card partitions when available"
-
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-
-# RDEPEND on udev since we re-use the mount.sh script
-RDEPENDS_${PN} += "udev"
-
-PACKAGE_ARCH = "all"
-
-inherit update-rc.d
-
-PR = "r0"
-
-SRC_URI = "file://init"
-
-INITSCRIPT_NAME = "mount-sdcard"
-
-# Mount it early enough that other scripts can find the partitions.
-INITSCRIPT_PARAMS = "defaults 90"
-
-do_install() {
-    install -d ${D}${sysconfdir}/init.d
-    install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/mount-sdcard
-}
-
-FILES_${PN} = "${sysconfdir} ${bindir}"
diff --git a/meta-arago-distro/recipes-tisdk/mount-sdcard/mount-sdcard/init 
b/meta-arago-distro/recipes-tisdk/mount-sdcard/mount-sdcard/init
deleted file mode 100644
index 61200b5..0000000
--- a/meta-arago-distro/recipes-tisdk/mount-sdcard/mount-sdcard/init
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-devices="/dev/mmcblk0p1 /dev/mmcblk0p2 /dev/mmcblk0p3"
-
-case "$1" in
-    start )
-        for d in $devices
-        do
-            DEVNAME=$d ACTION=add /etc/udev/scripts/mount.sh > /dev/null 2>&1
-        done
-    ;;
-    stop )
-        for d in $devices
-        do
-            DEVNAME=$d ACTION=remove /etc/udev/scripts/mount.sh > /dev/null 
2>&1
-        done
-    ;;
-esac
-
-exit 0;
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to