mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
a231c431a5
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>
20 lines
597 B
Diff
20 lines
597 B
Diff
Subject: use linux/capability.h on linux systems too
|
|
Author: Loïc Minier <loic.minier@ubuntu.com>
|
|
|
|
Upstream-Status: Inappropriate
|
|
---
|
|
system/core/include/private/android_filesystem_config.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/system/core/include/private/android_filesystem_config.h
|
|
+++ b/system/core/include/private/android_filesystem_config.h
|
|
@@ -27,7 +27,7 @@
|
|
#include <sys/types.h>
|
|
#include <stdint.h>
|
|
|
|
-#ifdef HAVE_ANDROID_OS
|
|
+#if defined(HAVE_ANDROID_OS) || defined(__linux__)
|
|
#include <linux/capability.h>
|
|
#else
|
|
#include "android_filesystem_capability.h"
|