From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 6D90D775CC for ; Thu, 2 Mar 2017 16:21:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v22GLhbZ002983; Thu, 2 Mar 2017 16:21:43 GMT Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 81xqnE0qkcyh; Thu, 2 Mar 2017 16:21:43 +0000 (GMT) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v22GLbdJ002958 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 2 Mar 2017 16:21:39 GMT Message-ID: <1488471697.24526.80.camel@linuxfoundation.org> From: Richard Purdie To: Ross Burton , openembedded-core@lists.openembedded.org Date: Thu, 02 Mar 2017 16:21:37 +0000 In-Reply-To: <1488471409-11114-1-git-send-email-ross.burton@intel.com> References: <1488471409-11114-1-git-send-email-ross.burton@intel.com> X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 Mime-Version: 1.0 Subject: Re: [PATCH] gcc-source: rewrite do_preconfigure() in shell X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 16:21:46 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2017-03-02 at 16:16 +0000, Ross Burton wrote: > This function is essentially just four lines of shell, that for some > reason was > written in Python. > > Signed-off-by: Ross Burton > --- > meta/recipes-devtools/gcc/gcc-source.inc | 25 +++++++++++----------- I suspect this will break in the various signature checks and cause rebuilds when things shouldn't. http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/?id=f07b7c0da1748afc35fbb2ead7ae10ec66c7c428 hints at why: "It needs to be a python task to avoid lots of shell exported variables as dependencies." which should of course be a comment in the code. I wish we had a better way to control exported variables to shell tasks which would be a better fix but right now we don't. Cheers, Richard