[oe-commits] [meta-openembedded] 07/36: android-tools: do_unpack_extra task removed

git at git.openembedded.org git at git.openembedded.org
Thu Feb 1 16:01:25 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch rocko
in repository meta-openembedded.

commit 4bea80956f7b740647aa557486bc2c6043e295ad
Author: Dariusz Pelowski <dariusz.pelowski at gmail.com>
AuthorDate: Sun Nov 5 12:06:39 2017 +0100

    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 at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
    (cherry picked from commit d2be40d2d907d0db304f44dde20a1c878a2f974c)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 .../android-tools/android-tools_5.1.1.r37.bb           | 18 ------------------
 1 file changed, 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 75f5b9e..d3ccd1d 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}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list