[oe-commits] : Opie: fix SD card device path for 2.6 kernels - see bug 4317

OE GIT Trial gittrial at amethyst.openembedded.net
Sat Aug 2 13:18:21 UTC 2008


Module: OE.dev
Branch: org.openembedded.stable
Commit: 09dc9117eae5ebc505d33de5370f6262f9ac81f5
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=09dc9117eae5ebc505d33de5370f6262f9ac81f5

Author:  <bluelightning at openembedded.org>
Date:   Mon Jun  9 22:50:29 2008 +0000

Opie: fix SD card device path for 2.6 kernels - see bug 4317
Applied revisions from dev:
 c35bb4255861a806a262b725cb19d12b4c906286

---

 packages/libqpe/libqpe-opie/fix-sd-card-path.patch |   17 +++++++++++++++++
 packages/libqpe/libqpe-opie_1.2.3.bb               |    3 ++-
 2 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/packages/libqpe/libqpe-opie/fix-sd-card-path.patch b/packages/libqpe/libqpe-opie/fix-sd-card-path.patch
new file mode 100644
index 0000000..32be5d2
--- /dev/null
+++ b/packages/libqpe/libqpe-opie/fix-sd-card-path.patch
@@ -0,0 +1,17 @@
+Index: library/storage.cpp
+===================================================================
+RCS file: /cvs/opie/library/storage.cpp,v
+retrieving revision 1.25
+retrieving revision 1.26
+diff -U3 -r1.25 -r1.26
+--- library/storage.cpp	7 Mar 2005 14:32:58 -0000	1.25
++++ library/storage.cpp	29 Dec 2007 02:14:09 -0000	1.26
+@@ -307,7 +307,7 @@
+     bool hasMmc=false;
+     if( deviceTab("/dev/mmc/part"))
+         hasMmc=true;
+-    if( deviceTab("/dev/mmcd"))
++    else if( deviceTab("/dev/mmcblk"))
+         hasMmc=true;
+     return hasMmc;
+ }
diff --git a/packages/libqpe/libqpe-opie_1.2.3.bb b/packages/libqpe/libqpe-opie_1.2.3.bb
index 00f9819..a51d6a9 100644
--- a/packages/libqpe/libqpe-opie_1.2.3.bb
+++ b/packages/libqpe/libqpe-opie_1.2.3.bb
@@ -1,11 +1,12 @@
 require ${PN}.inc
 
-PR = "r1"
+PR = "r2"
 TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
 
 SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/library \
            file://fix-titleheight.patch;patch=1 \
            file://unbreak-logging.patch;patch=1 \
            file://citytime-path.patch;patch=1 \
+           file://fix-sd-card-path.patch;patch=1 \
           "
 





More information about the Openembedded-commits mailing list