Fathi Boudra a231c431a5 android-tools: add recipe from AOSP tag android-5.1.1_r37
Android tools offer filsystem tools for creating sparse images,
so package them in package of its own.

This recipe is re-worked and not a straight import from meta-shr.

It's built from AOSP source. I've dropped the ubuntu-ism which will
never be upstreamed.

The intent is to be closer to the upstream AOSP source code and be able
to update the recipe regularly.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:46 +02:00

24 lines
602 B
Diff

Description: we intend to run on Linux system so the shell is always /bin/sh,
for the host or the target.
Author: Fathi Boudra <fabo@debian.org>
Upstream-Status: Inappropriate
---
system/core/adb/services.c | 4 ----
1 file changed, 4 deletions(-)
--- a/system/core/adb/services.c
+++ b/system/core/adb/services.c
@@ -299,11 +299,7 @@ static int create_subproc_raw(const char
}
#endif /* !ABD_HOST */
-#if ADB_HOST
#define SHELL_COMMAND "/bin/sh"
-#else
-#define SHELL_COMMAND "/system/bin/sh"
-#endif
#if !ADB_HOST
static void subproc_waiter_service(int fd, void *cookie)