Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id D5045700F3 for ; Fri, 22 Sep 2017 08:28:17 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id v8M8SIu2028003 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK); Fri, 22 Sep 2017 01:28:18 -0700 Received: from [128.224.162.194] (128.224.162.194) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 22 Sep 2017 01:28:16 -0700 To: "Burton, Ross" , Li Zhou References: <1496654112-103612-1-git-send-email-li.zhou@windriver.com> From: Dengke Du Message-ID: Date: Fri, 22 Sep 2017 16:27:20 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [128.224.162.194] Cc: OE-core Subject: Re: [PATCH V2] python2/3: Remove building host path from packages 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: Fri, 22 Sep 2017 08:28:18 -0000 Content-Type: multipart/alternative; boundary="------------4E8FD205F42D5AA6C0B69ECA" Content-Language: en-US --------------4E8FD205F42D5AA6C0B69ECA Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit The libxml2 ,python3-dbus and gpgme used host include and/or library paths, if we remove those host paths in the end of do_install task, those host paths would not populate in sysroot, so it's better to put the removing action in PACKAGE_PREPROCESS_FUNCS. On 2017年06月08日 21:36, Burton, Ross wrote: > > I think the seds need to be moved earlier in the build, or that py > file recompiled. --------------4E8FD205F42D5AA6C0B69ECA Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit

The libxml2 ,python3-dbus and gpgme used host include and/or library paths, if we

remove those host paths in the end of do_install task, those host paths would not

populate in sysroot, so it's better to put the removing action in PACKAGE_PREPROCESS_FUNCS.


On 2017年06月08日 21:36, Burton, Ross wrote:

I think the seds need to be moved earlier in the build, or that py file recompiled.

--------------4E8FD205F42D5AA6C0B69ECA--