From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 937476FF73 for ; Mon, 14 Dec 2015 05:37:38 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id tBE5bc4l024049 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 13 Dec 2015 21:37:38 -0800 (PST) Received: from [0.0.0.0] (147.11.103.217) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.248.2; Sun, 13 Dec 2015 21:37:37 -0800 To: Khem Raj References: <1446445418-31492-1-git-send-email-jian.liu@windriver.com> <56387CE7.5040907@windriver.com> <6A9FCF09-82E7-4A16-AEDD-D081F67704E7@gmail.com> <563ABB70.8060400@windriver.com> <56459C6D.90202@windriver.com> From: Jian Liu Message-ID: <566E558E.1070509@windriver.com> Date: Mon, 14 Dec 2015 13:37:18 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <56459C6D.90202@windriver.com> Cc: Patches and discussions about the oe-core layer Subject: Re: [PATCH] archiver.bbclass: do checkout for kernel 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: Mon, 14 Dec 2015 05:37:39 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Ping On 2015年11月13日 16:16, Jian Liu wrote: > Hi Raj, > > I tried meta-rasberrypi with my patch and it works well. > The tasks of the recipe linux-rasberrypi is similar with linux-yocto > and linux-rasberrypi also inherits linux-yocto.bbclass > > I read the codes of archiver and it seems that kernel is recognised by > "bb.data.inherits_class('kernel-yocto', d)" when kernel needs to be > handled specially > > What do you think? > > Thanks! > Jian > > On 2015年11月05日 10:22, Khem Raj wrote: >> On Wed, Nov 4, 2015 at 6:14 PM, Jian Liu wrote: >>> Hi, >>> >>> All kernels I list bellow will perform do_fetch(), do_unpack(), >>> do_kernel_checkout(). >>> do_unpack() will put a bare git repo under WORKDIR and then >>> do_kernel_checkout() >>> will move the bare repo to bitbake/tmp/work-share/>> name>/kernel-source(value of variable S), >>> then performing "git checkout". >>> >>> So do_ar_original must wait until do_kernel_checkout() is completed >>> and then >>> make tarball using the code under S. >>> Do I make that clear? >>> >>> >>> You refer to kernels other than linux-yocto. Can you give me an >>> example? >>> I do not know how to build such kernel. >> Add another BSP layer e.g. meta-raspberrypi to your bblayers.conf >> and then MACHINE=raspberrypi2 >> >> and see what you are trying to do still holds. >> >>> Thanks! >>> Jian >>> >>> >>> On 2015年11月04日 13:57, Khem Raj wrote: >>>>> On Nov 3, 2015, at 1:22 AM, Jian Liu wrote: >>>>>> Hi, >>>>>> >>>>>> I test linux-dummy linux-yocto-dev linux-yocto-rt >>>>>> linux-yocto-tiny and >>>>>> the result is as follows, >>>>>> >>>>>> linux-dummy: this package just meets some dependency and there is no >>>>>> source code for it. >>>>>> The patch does not impact it >>>>>> linux-yocto, linux-yocto-dev, linux-yocto-rt, linux-yocto-tiny: >>>>>> The S >>>>>> variable of all packages is set to STAGING_KERNEK_DIR. >>>>>> do_fetch and do_unpack just leave a bare >>>>>> git repo >>>>>> of kernel and do_kernel_checkout gets the source code >>>>>> >>>> does it cover the case when kernel is not linux-yocto was basic >>>> question, >>>> I am not clear if thats covered in any of above >>>> >>>>>> Thanks! >>> >