The system() call implemented in bionic/libc/unistd/system.c depends on paths.h which sets _PATH_BSHELL to "/system/bin/sh" which is incorrect for recovery - recovery cannot depend on /system being mounted or even sane because /system could be corrupt when recovery is used. We need _PATH_BSHELL to be pointing to /sbin/sh - and therefore bootable/recovery has its own __system() call implemented in bootable/recovery/libcrecovery that sets _PATH_BSHELL as well as makes sure environ is used in the call to execve. Change-Id: I2e5fd9c259e4fd0a9aad826a297fd3233a50a7c1
fix bug where the wrong SD Card block gets partitioned. rely on the ftsab to glean the sdcard mmcblk
Description
No description provided
Languages
C
87.8%
Shell
6.6%
Makefile
3.1%
C++
1%
Python
0.7%
Other
0.8%