All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giuseppe Condorelli <giuseppe.condorelli@gmail.com>
To: Stephen Arnold <stephen.arnold42@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: How to force patch application
Date: Sat, 9 Aug 2014 14:35:29 +0200	[thread overview]
Message-ID: <869F60C4-5D21-4006-B3DA-7DC789DBBB44@gmail.com> (raw)
In-Reply-To: <CAOLEWZVFTKYkRScGg1P3TX5YbL9Yvj0gfUHBKuoMYsipEPK46w@mail.gmail.com>

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

Many thanks Steve, I'll test it when possible. 
Enjoy your time. 
Giuseppe

> Il giorno 08/ago/2014, alle ore 00:25, Stephen Arnold <stephen.arnold42@gmail.com> ha scritto:
> 
> Yes, what I said previously:
> 
> 1) disable current patch: add ";patch=0" to the end of the patch line in SRC_URI
> 2a) add your patch to SRC_URI (if different than patch above)
> 2b) make your own do_patch() to apply the patch
> 2c) try this example for a way to supplement do_patch with your own function:
> meta-openembedded/meta-networking/recipes-support/netcat/netcat-openbsd_1.105.bb
> 3) test it
> 
> Steve
> 
> 
>> On Thu, Aug 7, 2014 at 7:51 AM, Giuseppe Condorelli <giuseppe.condorelli@gmail.com> wrote:
>> Hi Steve,
>>  
>> thanks for the reply.
>>  
>> The problem is that I need to force a patch application (like patch --force option) at my own risk.
>> Do you see any solution?
>> Giuseppe
>> 
>> 
>> 2014-08-07 16:43 GMT+02:00 Stephen Arnold <stephen.arnold42@gmail.com>:
>> 
>>> Not sure if there's an easy way with quilt (check the quilt options) but a relatively easy way would be to use your own patch routine (essentially anything you want).  One thing you could do is disable the normal patch application (add ";patch=0" to the end of the patch line in SRC_URI) and then use your own do_patch to force it (if that's really what you want to do).  I guess I would ask "why?" and if it were me I'd just reroll the patch and fix it.  But I don't know what the real problem is, so...
>>> 
>>> Steve
>>> 
>>> 
>>> 
>>>> On Thu, Aug 7, 2014 at 6:14 AM, Giuseppe Condorelli <giuseppe.condorelli@gmail.com> wrote:
>>>> Hi All,
>>>>  
>>>> please can I know if is it possible, using the do_patch routine,
>>>> to force the application of a given patch?
>>>> I mean, like the patch --force command.
>>>>  
>>>> Please let me know, I tried w/o good result.
>>>>  
>>>> Best Regards,
>>>> Giuseppe
>>>> 
>>>> --
>>>> _______________________________________________
>>>> Openembedded-core mailing list
>>>> Openembedded-core@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>> 
>>> 
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 

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

      reply	other threads:[~2014-08-09 12:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-07 13:14 How to force patch application Giuseppe Condorelli
2014-08-07 14:43 ` Stephen Arnold
2014-08-07 14:51   ` Giuseppe Condorelli
2014-08-07 22:25     ` Stephen Arnold
2014-08-09 12:35       ` Giuseppe Condorelli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=869F60C4-5D21-4006-B3DA-7DC789DBBB44@gmail.com \
    --to=giuseppe.condorelli@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=stephen.arnold42@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.