mount system and data with no access stamps

remove cache hacks (cache partition is largely unused with dexopt.dataonly)
This commit is contained in:
milaq 2012-05-16 14:04:24 +02:00
parent 8d61bfe4e8
commit eb896cbe30
3 changed files with 2 additions and 14 deletions

1
leo.mk
View File

@ -102,7 +102,6 @@ PRODUCT_COPY_FILES += \
# This file is used to install the enable RMNET and corresponding modules which dont get activated by normal module script, mount cache so that downloads work correctly
PRODUCT_COPY_FILES += \
device/htc/leo/prebuilt/init.d/01modules:system/etc/init.d/01modules \
device/htc/leo/prebuilt/init.d/02cache:system/etc/init.d/02cache \
device/htc/leo/prebuilt/init.d/10mic_level:system/etc/init.d/10mic_level \
device/htc/leo/prebuilt/init.d/97ppp:system/etc/init.d/97ppp

View File

@ -1,11 +0,0 @@
#!/system/bin/sh
cache_partition=`grep cache /proc/mtd | cut -d: -f1 | sed 's/mtd/mtdblock/'`
umount /cache
rmdir /cache
mkdir /mnt/cache
mkdir /data/cache
mount -t yaffs2 -o rw /dev/block/$cache_partition /mnt/cache
ln -s /data/cache /cache
ln -s /mnt/cache/recovery /cache/recovery

View File

@ -9,10 +9,10 @@ on early-init
symlink /mnt/sdcard /sdcard
on fs
mount yaffs2 mtd@system /system remount
mount yaffs2 mtd@system /system remount noatime nodiratime
mount yaffs2 mtd@userdata /data remount nosuid nodev noatime nodiratime
on post-fs-data
mount rootfs rootfs / remount
mkdir /data/misc/wifi 0770 wifi wifi