diff options
Diffstat (limited to 'prebuilt')
-rw-r--r-- | prebuilt/Android.mk | 18 | ||||
-rwxr-xr-x | prebuilt/bbinstall.sh | 14 | ||||
-rw-r--r-- | prebuilt/fs | 46 |
3 files changed, 0 insertions, 78 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 4796d06ff..048077a22 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -71,15 +71,6 @@ LOCAL_GENERATED_SOURCES := $(GEN) LOCAL_SRC_FILES := teamwin $(GEN) include $(BUILD_PREBUILT) -#bbinstall.sh -include $(CLEAR_VARS) -LOCAL_MODULE := bbinstall.sh -LOCAL_MODULE_TAGS := eng -LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES -LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin -LOCAL_SRC_FILES := $(LOCAL_MODULE) -include $(BUILD_PREBUILT) - #fix_permissions include $(CLEAR_VARS) LOCAL_MODULE := fix_permissions.sh @@ -89,15 +80,6 @@ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) -#fs -include $(CLEAR_VARS) -LOCAL_MODULE := fs -LOCAL_MODULE_TAGS := eng -LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES -LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin -LOCAL_SRC_FILES := $(LOCAL_MODULE) -include $(BUILD_PREBUILT) - #mke2fs.conf include $(CLEAR_VARS) LOCAL_MODULE := mke2fs.conf diff --git a/prebuilt/bbinstall.sh b/prebuilt/bbinstall.sh deleted file mode 100755 index 2aab96958..000000000 --- a/prebuilt/bbinstall.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/sbin/sh - -if [ -f "/sbin/[" ]; -then -exit -fi - -for cmd in $(/sbin/busybox --list); do - /sbin/busybox ln -s /sbin/busybox /sbin/$cmd -done - -ln -sf /sbin/pigz /sbin/gzip -ln -sf /sbin/unpigz /sbin/gunzip -rm /sbin/mkdosfs
\ No newline at end of file diff --git a/prebuilt/fs b/prebuilt/fs deleted file mode 100644 index 3092efe2a..000000000 --- a/prebuilt/fs +++ /dev/null @@ -1,46 +0,0 @@ -#!/sbin/sh - -um -if [ $? != "0" ]; then - echo "Unable to unmount!" - exit 1 -fi - - -case $1 in - repair) - if [ -e /dev/block/mmcblk0p2 ]; then - - e2fsck -yf /dev/block/mmcblk0p2 - else - echo "No ext partition found!" - exit 1 - fi - exit 0 - ;; - ext3) - if [ -e /dev/block/mmcblk0p2 ]; then - - e2fsck -yf /dev/block/mmcblk0p2 - tune2fs -c0 -i0 -j /dev/block/mmcblk0p2 - else - echo "No ext partition found!" - exit 1 - fi - exit 0 - ;; - ext4) - if [ -e /dev/block/mmcblk0p2 ]; then - - tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2 - e2fsck -fpDC0 /dev/block/mmcblk0p2 - else - echo "No ext partition found!" - exit 1 - fi - exit 0 - ;; - --) - exit 0 - ;; -esac |