Re: [OE-core] [PATCH 1/1] lib/oe/patch.py: Fix applying a directory as a patch

2019-01-26 Thread Richard Purdie
On Sat, 2019-01-26 at 11:47 +0100, Tomasz Dziendzielski wrote: > sob., 26 sty 2019 o 11:34 Richard Purdie > napisał(a): > > On Fri, 2019-01-25 at 20:55 +0100, Tomasz Dziendzielski wrote: > > > If a SRC_URI content ends with '.patch' bitbake is > > > trying to apply it as it's a patch file. > > >

Re: [OE-core] [PATCH 1/1] lib/oe/patch.py: Fix applying a directory as a patch

2019-01-26 Thread Tomasz Dziendzielski
sob., 26 sty 2019 o 11:34 Richard Purdie napisał(a): > > On Fri, 2019-01-25 at 20:55 +0100, Tomasz Dziendzielski wrote: > > If a SRC_URI content ends with '.patch' bitbake is > > trying to apply it as it's a patch file. > > > > It causes that if we use git repository for 'patch' package > > the ba

Re: [OE-core] [PATCH 1/1] lib/oe/patch.py: Fix applying a directory as a patch

2019-01-26 Thread Richard Purdie
On Fri, 2019-01-25 at 20:55 +0100, Tomasz Dziendzielski wrote: > If a SRC_URI content ends with '.patch' bitbake is > trying to apply it as it's a patch file. > > It causes that if we use git repository for 'patch' package > the bare clone is extracted to a directory > (i.e. build/downloads/git2/g

[OE-core] [PATCH 1/1] lib/oe/patch.py: Fix applying a directory as a patch

2019-01-25 Thread Tomasz Dziendzielski
If a SRC_URI content ends with '.patch' bitbake is trying to apply it as it's a patch file. It causes that if we use git repository for 'patch' package the bare clone is extracted to a directory (i.e. build/downloads/git2/git.mirror.org.patch/) which is considered to be a patch file, so patch.py t