Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mail.openembedded.org (Postfix) with ESMTP id 9BE1E78432 for ; Fri, 28 Jul 2017 13:41:13 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id t201so126135034wmt.1 for ; Fri, 28 Jul 2017 06:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pBauLBO6ev8mY0EplwYJpfsMrtF24pxtSu+p2BlHZSg=; b=gclNbrBkyfxcQAylDoRr66jPpqnKEHRgINceTFxr8hUBwaHN2CuHQWPrbIMLTcPEmV u1ZyUYuj8ZSBc2R1Oj0vfmJMN5Y2uIZD+tVxkP8IlEcigvcSmgwuIA4p5ixaHmqWziE3 xd/mH8FYZWDFLFKuqq5K454wYy4fymRyXl/24vVdjRFykKNgu19+/SRv7UXwXsh6xB8o YrJGnRJtqLTqNLyd9ldsYUMDT8mKUeqYeYkD3VW0CVYaY8rUIH1dhWLds/JkpCwOpkR3 wa1yXg611E8/JuREbFEX7O9DFALhEWyFABIgcHX219eZkvahFOF8me2Kbrh9bCmjW8sy zmKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pBauLBO6ev8mY0EplwYJpfsMrtF24pxtSu+p2BlHZSg=; b=tilqznOK5wKHg8mhYLWedq3jCJGByp4/sFUfG9xVa3JFSwY4Db6GRS0bFnt5r0PwEB uuZfOd9xqX0RVloPlECSvWFyM+rf4TXEwWOo35O93aD+E2+Jq1iqWv3tNfFjJ3VP2+KR nceQrwce8lIsZ0XgrpDyTsLJ0FZy+QtDa7wQQjVoN4+/y9k8x7Q69h4nQoURwe5NzXzz 1IheuuI5mOoEoBQgD6Bj+hjYow2zhnm89u9EfNXEnLhNPyOX1HMcQL+NJneAd1muJirh H37HqY+Kc45VzKknwurGKuHU8xcSRCJTnVef0kV+MiloBfAn40oLxMOEsXnoX4jrDjk8 erCQ== X-Gm-Message-State: AIVw110K/c04TDKY5tk6up5H43Q4RDg/qLksRSgn0uZz6i5vcEWRuGbs OzG14dB17xk95V7t X-Received: by 10.28.10.131 with SMTP id 125mr5919752wmk.132.1501249273838; Fri, 28 Jul 2017 06:41:13 -0700 (PDT) Received: from gizero-desktop.tw.it (host193-245-static.58-79-b.business.telecomitalia.it. [79.58.245.193]) by smtp.gmail.com with ESMTPSA id w71sm4252743wmd.6.2017.07.28.06.41.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Jul 2017 06:41:13 -0700 (PDT) From: Andrea Galbusera To: openembedded-devel@lists.openembedded.org Date: Fri, 28 Jul 2017 15:40:56 +0200 Message-Id: <1501249256-16403-1-git-send-email-gizero@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [meta-oe][PATCH] android-tools: fix issue with missing files in eSDK updates X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2017 13:41:14 -0000 If this recipe was included in an eSDK and then eSDK incremental updates were generated by repeatedly running the oe-publish-sdk script, after installing the first of such updates, and any following as well, with 'devtool sdk-updates' the eSDK gets corrupted. Indeed some of the files listed in SRC_URI (namely anything in *.patch and *.service) get deleted by those updates, with bitbake that starts warning with 'Unable to get checksum for android-tools* SRC_URI entry' at every parse. Since the files are missing, such warnings turn into errors if trying to bake android-tools. The root cause is the somewhat unusual presence of android-tools/.gitignore, indeed ignore everything not explicitly excepted. When oe-publish-sdk creates the git repo it relies on to feed eSDK updates, the .gitignore gets honored, leading to the buggy behaviour above. This patch adds *.patch and *.service to the excepted patterns in .gitignore Note that, although this solves the issue, it does not prevent from it popping up again if new files get added to android-tools/ without explicitly excluding them from .gitignore. --- meta-oe/recipes-devtools/android-tools/android-tools/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/.gitignore b/meta-oe/recipes-devtools/android-tools/android-tools/.gitignore index b8a08f8..b034c10 100644 --- a/meta-oe/recipes-devtools/android-tools/android-tools/.gitignore +++ b/meta-oe/recipes-devtools/android-tools/android-tools/.gitignore @@ -3,6 +3,8 @@ !*.indirectionsymlink !*.[ch] !*.mk +!*.patch +!*.service !NOTICE !MODULE_LICENSE_* !/system/ -- 2.7.4