All of lore.kernel.org
 help / color / mirror / Atom feed
* Applying non local patches
@ 2014-11-14 13:02 Devshatwar, Nikhil
  2014-12-01 21:49 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Devshatwar, Nikhil @ 2014-11-14 13:02 UTC (permalink / raw)
  To: meta-arago@arago-project.org

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

Hi all,
Does yocto support applying patches which are under review
It is possible to download the patch and add it to the recipe along with the actual patch file

But  is there another way where we can point to the patches in the SRC_URI itself

Something similar to

SRC_URI= "git:git.fredesktop.org/project/repo.git;protocol=git \
      http://patchwork.freedesktop/project/repo/12345/raw;protocol=http \
"
Are there any examples of such reciepes
Please help

Thanks and regards,
Nikhil Devshatwar


[-- Attachment #2: Type: text/html, Size: 2897 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Applying non local patches
  2014-11-14 13:02 Applying non local patches Devshatwar, Nikhil
@ 2014-12-01 21:49 ` Denys Dmytriyenko
  2014-12-02  7:08   ` Devshatwar, Nikhil
  0 siblings, 1 reply; 3+ messages in thread
From: Denys Dmytriyenko @ 2014-12-01 21:49 UTC (permalink / raw)
  To: Devshatwar, Nikhil; +Cc: meta-arago@arago-project.org

On Fri, Nov 14, 2014 at 01:02:09PM +0000, Devshatwar, Nikhil wrote:
> Hi all,
> Does yocto support applying patches which are under review
> It is possible to download the patch and add it to the recipe along with the actual patch file
> 
> But  is there another way where we can point to the patches in the SRC_URI itself
> 
> Something similar to
> 
> SRC_URI= "git:git.fredesktop.org/project/repo.git;protocol=git \
>       http://patchwork.freedesktop/project/repo/12345/raw;protocol=http \
> "
> Are there any examples of such reciepes
> Please help

Nikhil,

It's not recommended, but it was always possible. Here's an old example from 
OE Classic, as I couldn't find any recent one:

http://cgit.openembedded.org/openembedded/tree/recipes/busybox/busybox_1.7.2.bb

We moved away from that practice, as upstream used to constantly tweak and 
change patches, breaking the build all the time. Having patches in metadata 
gives more control, as updating patches, their checksums and making sure the 
build doesn't break can be done at the same time.

-- 
Denys


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Applying non local patches
  2014-12-01 21:49 ` Denys Dmytriyenko
@ 2014-12-02  7:08   ` Devshatwar, Nikhil
  0 siblings, 0 replies; 3+ messages in thread
From: Devshatwar, Nikhil @ 2014-12-02  7:08 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org

Hi Denys,

> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Tuesday, December 02, 2014 3:20 AM
> To: Devshatwar, Nikhil
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] Applying non local patches
> 
> On Fri, Nov 14, 2014 at 01:02:09PM +0000, Devshatwar, Nikhil wrote:
> > Hi all,
> > Does yocto support applying patches which are under review It is
> > possible to download the patch and add it to the recipe along with
> the
> > actual patch file
> >
> > But  is there another way where we can point to the patches in the
> > SRC_URI itself
> >
> > Something similar to
> >
> > SRC_URI= "git:git.fredesktop.org/project/repo.git;protocol=git \
> >
> > http://patchwork.freedesktop/project/repo/12345/raw;protocol=http \ "
> > Are there any examples of such reciepes Please help
> 
> Nikhil,
> 
> It's not recommended, but it was always possible. Here's an old example
> from OE Classic, as I couldn't find any recent one:
> 
> http://cgit.openembedded.org/openembedded/tree/recipes/busybox/busybox_
> 1.7.2.bb
> 
Thanks for this info, it would really help

> We moved away from that practice, as upstream used to constantly tweak
> and change patches, breaking the build all the time. Having patches in
> metadata gives more control, as updating patches, their checksums and
> making sure the build doesn't break can be done at the same time.
> 
I understand the cons here
This is mostly for my experiments where I want to apply patches from patchwork
To try out some things
It's easy to just provide link than to download and add in the recipe

Thank you

> --
> Denys


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-02  7:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 13:02 Applying non local patches Devshatwar, Nikhil
2014-12-01 21:49 ` Denys Dmytriyenko
2014-12-02  7:08   ` Devshatwar, Nikhil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.