diff options
author | Dees_Troy <dees_troy@teamw.in> | 2012-09-28 18:34:33 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2012-09-28 18:34:33 +0200 |
commit | ce2fe779c028eeb198120b6d43e0a242a7113465 (patch) | |
tree | a41219ba7992552a06d55f8107a5192b974225d4 /prebuilt | |
parent | Save version number to storage (diff) | |
download | android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.gz android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.bz2 android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.lz android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.xz android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.tar.zst android_bootable_recovery-ce2fe779c028eeb198120b6d43e0a242a7113465.zip |
Diffstat (limited to 'prebuilt')
-rw-r--r-- | prebuilt/Android.mk | 9 | ||||
-rwxr-xr-x | prebuilt/bbinstall.sh | 14 |
2 files changed, 23 insertions, 0 deletions
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk index 048077a22..8b7c2f17a 100644 --- a/prebuilt/Android.mk +++ b/prebuilt/Android.mk @@ -71,6 +71,15 @@ 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 diff --git a/prebuilt/bbinstall.sh b/prebuilt/bbinstall.sh new file mode 100755 index 000000000..2aab96958 --- /dev/null +++ b/prebuilt/bbinstall.sh @@ -0,0 +1,14 @@ +#!/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 |