vendor/samsung/q1u
修訂 | f1d773b687d407b919c5d222a108e5c3eded6c61 (tree) |
---|---|
時間 | 2009-12-07 09:46:25 |
作者 | Bryan Hundven <bryanhundven@gmai...> |
Commiter | Bryan Hundven |
Fix installation of /data/system/tslib/pointercal
@@ -38,7 +38,6 @@ $(INSTALLED_RAMDISK_TARGET): $(file) | ||
38 | 38 | $(eval $(call add-prebuilt-target,$(TARGET_OUT_DATA_ETC),pointercal)) |
39 | 39 | $(eval $(call add-prebuilt-target,$(TARGET_OUT_DATA_ETC),ts.conf)) |
40 | 40 | $(eval $(call add-prebuilt-target,$(TARGET_OUT_DATA_ETC),ts.env)) |
41 | -$(eval $(call add-prebuilt-target,$(TARGET_OUT_DATA_ETC),ins_pointercal.sh)) | |
42 | 41 | |
43 | 42 | ALL_FIRMWARES := $(shell cd $(LOCAL_PATH) && find firmware -type f) |
44 | 43 | $(eval $(foreach f,$(ALL_FIRMWARES),$(call add-prebuilt-target,$(TARGET_OUT_SHARED_LIBRARIES),$(f)))) |
@@ -12,7 +12,3 @@ on boot | ||
12 | 12 | setprop alsa.mixer.playback.headset Master |
13 | 13 | setprop alsa.mixer.playback.speaker Master |
14 | 14 | export LD_PRELOAD /lib/libts.so:/lib/ts/pthres.so |
15 | - | |
16 | -service tslib /system/bin/sh /system/etc/ins_pointercal.sh | |
17 | - oneshot | |
18 | - |
@@ -88,6 +88,13 @@ loglevel 3 | ||
88 | 88 | chown root root /cache/lost+found |
89 | 89 | chmod 0770 /cache/lost+found |
90 | 90 | |
91 | + # setup for pointercal | |
92 | + mkdir /data/system/tslib 755 1000 1000 | |
93 | + copy /system/etc/pointercal /data/system/tslib/pointercal | |
94 | + chmod 666 /data/system/tslib/pointercal | |
95 | + chown 1000 1000 /data/system/tslib/pointercal | |
96 | + # this has to be done before servicemanager and zygote | |
97 | + | |
91 | 98 | |
92 | 99 | ### Load some modules |
93 | 100 |
@@ -1,7 +0,0 @@ | ||
1 | -#!/bin/sh | |
2 | -if [ -f /system/etc/pointercal ]; then | |
3 | - mkdir /data/system/tslib | |
4 | - chown 1000.1000 /data/system/tslib | |
5 | - cp /system/etc/pointercal /data/system/tslib/pointercal | |
6 | - chown 1000.1000 /data/system/tslib/pointercal | |
7 | -fi |