Re: [yocto] Problem with applying a patch using default -pnum

2013-03-08 Thread Hans Beckérus
On Fri, Mar 8, 2013 at 2:49 AM, Daniel Lazzari dlazz...@leapfrog.comwrote: On 2013-03-07 8:11, Jerrod Peach wrote: Hans, Are you sure you're seeing the patch system use $WORKDIR instead of $S as the root for patching? I've had to do a lot of patching in our own layers recently

[yocto] Problem with applying a patch using default -pnum

2013-03-07 Thread Hans Beckérus
Hi. More problems ;) I have a patch file that needs to be applied to a source tree and the patch file is copied properly to the ${WORKDIR} directory. So far so good. But, the problem with this source tree is that it is not built from the traditional root folder of the repo. This means I need to

Re: [yocto] Problem with applying a patch using default -pnum

2013-03-07 Thread Hans Beckérus
On Thu, Mar 7, 2013 at 1:12 PM, Hans Beckérus hans.becke...@gmail.com wrote: Hi. More problems ;) I have a patch file that needs to be applied to a source tree and the patch file is copied properly to the ${WORKDIR} directory. So far so good. But, the problem with this source tree is that it

Re: [yocto] Problem with applying a patch using default -pnum

2013-03-07 Thread Paul Eggleton
On Thursday 07 March 2013 13:12:57 Hans Beckérus wrote: I have a patch file that needs to be applied to a source tree and the patch file is copied properly to the ${WORKDIR} directory. So far so good. But, the problem with this source tree is that it is not built from the traditional root

Re: [yocto] Problem with applying a patch using default -pnum

2013-03-07 Thread Jerrod Peach
Hans, Are you sure you're seeing the patch system use $WORKDIR instead of $S as the root for patching? I've had to do a lot of patching in our own layers recently and I've always seen $S used as the root for the patch. Are you explicitly setting S = ${WORKDIR}/git? That's what we do for our

Re: [yocto] Problem with applying a patch using default -pnum

2013-03-07 Thread Hans Beckerus
On 2013-03-07 8:11, Jerrod Peach wrote: Hans, Are you sure you're seeing the patch system use $WORKDIR instead of $S as the root for patching? I've had to do a lot of patching in our own layers recently and I've always seen $S used as the root for the patch. Are you explicitly setting S =

Re: [yocto] Problem with applying a patch using default -pnum

2013-03-07 Thread Jerrod Peach
On Thu, Mar 7, 2013 at 2:43 PM, Hans Beckerus hans.becke...@gmail.comwrote: On 2013-03-07 8:11, Jerrod Peach wrote: Hans, Are you sure you're seeing the patch system use $WORKDIR instead of $S as the root for patching? I've had to do a lot of patching in our own layers recently and I've

Re: [yocto] Problem with applying a patch using default -pnum

2013-03-07 Thread Hans Beckerus
On 2013-03-07 10:01, Jerrod Peach wrote: On Thu, Mar 7, 2013 at 2:43 PM, Hans Beckerus hans.becke...@gmail.com mailto:hans.becke...@gmail.com wrote: On 2013-03-07 8:11, Jerrod Peach wrote: Hans, Are you sure you're seeing the patch system use $WORKDIR instead of $S as the

Re: [yocto] Problem with applying a patch using default -pnum

2013-03-07 Thread Daniel Lazzari
On 2013-03-07 8:11, Jerrod Peach wrote: Hans, Are you sure you're seeing the patch system use $WORKDIR instead of $S as the root for patching? I've had to do a lot of patching in our own layers recently and I've always seen $S used as the root for the patch. Are you explicitly