diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-12-29 10:40:08 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2004-12-29 10:40:08 +0000 |
commit | 96256caa9440f67406831efadd79194f7ceb4c54 (patch) | |
tree | 5b055c80dfc4838d83642dad7a3866d9d184d3eb | |
parent | ca01dc03eb8d05cc878bac801888f2e8f7363e87 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2004/12/29 11:16:27+01:00 handhelds.org!CoreDump
sdcontrol: Create missing device-files on the fly
2004/12/29 11:14:17+01:00 handhelds.org!CoreDump
opie-zkbapplet: Nuke obsolete postinst from _cvs .bb
BKrev: 41d28988H5161wfPcVJCImWZ6rWSpg
-rw-r--r-- | packages/opie-zkbapplet/opie-zkbapplet_cvs.bb | 6 | ||||
-rw-r--r-- | packages/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/opie-zkbapplet/opie-zkbapplet_cvs.bb b/packages/opie-zkbapplet/opie-zkbapplet_cvs.bb index 9c3a20eb47..1ea3196a4d 100644 --- a/packages/opie-zkbapplet/opie-zkbapplet_cvs.bb +++ b/packages/opie-zkbapplet/opie-zkbapplet_cvs.bb @@ -18,12 +18,6 @@ S = "${WORKDIR}/${APPNAME}" inherit opie -pkg_postinst() { -#!/bin/sh -if [ -n "$D" ]; then exit 1; fi -test -f $OPIEDIR/share/zkb/zkb.xml || cp $OPIEDIR/share/zkb/zkb.xml.sample $OPIEDIR/share/zkb/zkb.xml -} - do_install() { install -d ${D}${palmtopdir}/pics/ install -d ${D}${palmtopdir}/share/zkb/ 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 876f365363..1639945ade 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 @@ -139,6 +139,12 @@ case "$ACTION" in ! test -d $MOUNT_POINT && mkdir -p $MOUNT_POINT DEVICE="/dev/$part" + if ! test -e "$DEVICE" + then + DEV_NUM="`echo "$DEVICE" | sed -n "s/.*\([0-9]\)/\1/p"`" + cd /dev + mknod mmcda$DEV_NUM b 60 $DEV_NUM + fi echo "Mounting [/dev/$part]" echo "* Trying VFAT mount [$SD_OPTS_VFAT]..." |