aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDariusz Pelowski <dariusz.pelowski@gmail.com>2017-11-05 12:06:39 +0100
committerArmin Kuster <akuster808@gmail.com>2018-02-01 07:32:03 -0800
commit4bea80956f7b740647aa557486bc2c6043e295ad (patch)
tree9c42beec72fd6a679b9d1370864607b77d3df2d7
parent1985f77b23dac73390ebcb03505ad1183e8c66ef (diff)
downloadmeta-openembedded-contrib-4bea80956f7b740647aa557486bc2c6043e295ad.tar.gz
meta-openembedded-contrib-4bea80956f7b740647aa557486bc2c6043e295ad.tar.bz2
meta-openembedded-contrib-4bea80956f7b740647aa557486bc2c6043e295ad.zip
android-tools: do_unpack_extra task removed
When user don't have properly configured git user.email and user.name compilation fails on do_unpack_extra step when executing "git commit" command. This patch removes whole do_unpack_extra task as it's unusual operation for the recipe to remove .git directories and initialize new git repository after do_unpack task. Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit d2be40d2d907d0db304f44dde20a1c878a2f974c) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb18
1 files changed, 0 insertions, 18 deletions
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
index 75f5b9e26d..d3ccd1d064 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
@@ -54,24 +54,6 @@ inherit systemd
SYSTEMD_SERVICE_${PN} = "android-tools-adbd.service"
-# Get rid of files uneeded to build Android tools
-do_unpack_extra() {
- cd ${S}
- rm -rf \
- system/core/.git \
- system/extras/.git \
- hardware/libhardware/.git \
- external/libselinux/.git \
- build/.git
- git init
- git add .
- git commit -m \
- "Initial import - committed ${ANDROID_TAG}"
- git clean -fdx
-}
-
-addtask unpack_extra after do_unpack before do_patch
-
# Find libbsd headers during native builds
CC_append_class-native = " -I${STAGING_INCDIR}"
CC_append_class-nativesdk = " -I${STAGING_INCDIR}"