diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-12-29 11:40:06 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-12-29 11:40:06 +0000 |
commit | 31ded767a58bfc922b6d04121b4bdf1e07e46a2b (patch) | |
tree | 7a203df650d3836c971e5c3b88c5d7c45734094d /packages/sharp-binary-only | |
parent | 96256caa9440f67406831efadd79194f7ceb4c54 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2004/12/29 12:35:06+01:00 uni-frankfurt.de!mickeyl
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2004/12/29 12:34:53+01:00 uni-frankfurt.de!mickeyl
install sysvinit-pidof with task-bootstrap
2004/12/29 12:17:08+01:00 handhelds.org!CoreDump
sdcontrol: Read available partition from /proc/partitions. This fixes failed mounts after flashing.
BKrev: 41d29796GXWRReDs9Gn88Uyd9Upd3g
Diffstat (limited to 'packages/sharp-binary-only')
-rw-r--r-- | packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol | 9 | ||||
-rw-r--r-- | packages/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.bb | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol index 1639945ade..baccb3a0aa 100644 --- a/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol +++ b/packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol @@ -85,7 +85,14 @@ case "$ACTION" in # Get available partitions through dmesg. The "tail -1" is needed as # sometimes the partitions are printed twice by the kernel. - OK_PARTS="`dmesg | tail -3 | grep mmcda | tail -1| sed s/^.*\:\ //`" + #OK_PARTS="`dmesg | tail -3 | grep mmcda | tail -1| sed s/^.*\:\ //`" + OK_PARTS="`cat /proc/partitions |awk '{print $4}'| grep mmcd`" + + if test "`echo "$OK_PARTS" | wc -l | awk '{print $1}`" -gt 1 + then + OK_PARTS="`echo "$OK_PARTS" | grep -v "^mmcda$"`" + fi + echo "Valid SD partitions are: [$OK_PARTS]" # Allow for "#" in fstab. diff --git a/packages/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.bb b/packages/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.bb index 203688484a..b5a93a3c00 100644 --- a/packages/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.bb +++ b/packages/sharp-binary-only/sharp-sdmmc-support_2.4.18-rmk7-pxa3-embedix.bb @@ -4,7 +4,7 @@ PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>" LICENSE = "CLOSED" RDEPENDS = "kernel (${KERNEL_VERSION})" -PR = "r9" +PR = "r10" SRC_URI = "http://www.openzaurus.org/mirror/sd-modules-2.4.18-rmk7-pxa3-embedix.tar.bz2 \ file://sd \ |