Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-12-17 Thread Jian Liu
Hi Ross, I test this patch. I seem to have no relationship with my issue. This patch just optimizes some tasks. My problem seems to be gotten around by a patch 523e4f6a6913b64453579d27a02467e14f7df42e submitted by Bruce. "bareclone=1" is removed from SRC_URI. So kernel source is not a bare r

Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-12-16 Thread Burton, Ross
On 2 November 2015 at 06:23, Jian Liu wrote: > The repo of kernel is bare git repository and we need to checkout to get > the source code. > A recent patch to archiver ("fix previous issue regarding work-shared for linux-yocto") claims to fix this, can you confirm if that fixes this problem or i

Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-12-13 Thread Jian Liu
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 rec

Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-11-13 Thread Jian Liu
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-y

Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-11-04 Thread Khem Raj
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-s

Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-11-04 Thread Jian Liu
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".

Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-11-03 Thread Khem Raj
> 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 no

Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-11-03 Thread Jian Liu
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

Re: [OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-11-02 Thread Khem Raj
On Sun, Nov 1, 2015 at 10:23 PM, Jian Liu wrote: > The repo of kernel is bare git repository and we need to checkout to get > the source code. it should be linux-yocto I think, or do we have all kernels as bare git repos ? > > Signed-off-by: Jian Liu > > diff --git a/meta/classes/archiver.bbcla

[OE-core] [PATCH] archiver.bbclass: do checkout for kernel

2015-11-01 Thread Jian Liu
The repo of kernel is bare git repository and we need to checkout to get the source code. Signed-off-by: Jian Liu diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 41a552c..7387fbf 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass @@ -6