From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]) by metis.ext.pengutronix.de with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from ) id 1Zqu3I-0006CM-Kr for ptxdist@pengutronix.de; Tue, 27 Oct 2015 03:32:25 +0100 Received: by obcqt19 with SMTP id qt19so158980046obc.3 for ; Mon, 26 Oct 2015 19:31:49 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <201510231017.07972.jbe@pengutronix.de> From: "Prabhakara Rao Kolusu (WMSC-HW)" Date: Tue, 27 Oct 2015 10:31:10 +0800 Message-ID: Subject: Re: [ptxdist] Fwd: How to apply patch using ptxdist List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0501883058==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0501883058== Content-Type: multipart/alternative; boundary=001a11c2980e454b0005230ce1ef --001a11c2980e454b0005230ce1ef Content-Type: text/plain; charset=UTF-8 Hi Matthias, Thank you for your info, I do follow the same procedure normally when I want to modify source and compile it, but, my requirement is applying a patch to the existing source package without extracting it again. Hope my requirement is clear and meaningful. Thanks, Prabhakar. Thanks, Prabhakar On Fri, Oct 23, 2015 at 5:43 PM, Matthias Fend wrote: > Hi Prabhakara, > > > Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von > > Prabhakara Rao Kolusu (WMSC-HW) > > Gesendet: Freitag, 23. Oktober 2015 11:30 > > An: Juergen Borleis > > Cc: ptxdist@pengutronix.de > > Betreff: Re: [ptxdist] Fwd: How to apply patch using ptxdist > > > > Hi Juergen, > > > > Thank you for prompt response. > > > > I want to apply the patch to the existing package without extracting it > from > > archive file. > > So that I can avoid building package from start. > > > > For example take kernel, if I change something and want to add this to > final > > build, it has to be compiled from start if it needs extract to apply the > patch. > > > > I have referred section 4.2.5, but unfortunately I did not get what I am > > looking for. > > Maybe this is what you are looking for: > > 1. Change some source files of the Kernel (in > platform-x/build-target/linux-x.x.x/...) > 2. ptxdist drop kernel.compile > 3. ptxdist go > 4. ptxdist images > > Good luck, > ~Matthias > > > > > Please help me in this regard. > > > > Thanks & Regards. > > Prabhakar. > > > > > > > > > > On Fri, Oct 23, 2015 at 4:17 PM, Juergen Borleis > > wrote: > > Hi Prabhakar, > > > > On Thursday 22 October 2015 04:48:48 Prabhakara Rao Kolusu (WMSC-HW) > > wrote: > > > I would like to know how to apply a patch to a already extracted > package. > > > I do not want to remove the source directory of package and re extract > it. > > > > > > Could you please help me if there is an easy method. > > > > Do you mean you want to add your patch in a persistent manner or just > add it > > and test something? > > > > You could refer the PTXdist manual[1], section 4.2.5 for example. > > > > Regards, > > Juergen > > > > [1] > > http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP- > > Pengutronix-Generic-arm-Quickstart.pdf > > > > -- > > Pengutronix e.K. | Juergen Borleis > | Industrial Linux > > Solutions | http://www.pengutronix.de/ | > > -- > ptxdist mailing list > ptxdist@pengutronix.de > --001a11c2980e454b0005230ce1ef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Matthias,

Thank you for your info,

I do follow the same procedure normally when I want= to modify source and compile it,=C2=A0
but, my requirement is ap= plying a patch to the existing source package without extracting it again.<= /div>

Hope my requirement is clear and meaningful.
=

Thanks,
Prabhakar.

T= hanks,
Prabhakar

On Fri, Oct 23, 2015 at 5:43 PM, Matthias Fend <Matthias.Fend@wolfvision.net> wrote:
Hi Prabhakara,

> Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von
> Prabhakara Rao Kolusu (WMSC-HW)
> Gesendet: Freitag, 23. Oktober 2015 11:30
> An: Juergen Borleis
> Cc: ptxdist@pengutronix.de
> Betreff: Re: [ptxdist] Fwd: How to apply patch using ptxdist
>
> Hi Juergen,
>
> Thank you for prompt response.
>
> I want to apply the patch to the existing package without extracting i= t from
> archive file.
> So that I can avoid building package from start.
>
> For example take kernel, if I change something and want to add this to= final
> build, it has to be compiled from start if it needs extract to apply t= he patch.
>
> I have referred section 4.2.5, but unfortunately I did not get what I = am
> looking for.

Maybe this is what you are looking for:

1. Change some source files of the Kernel (in platform-x/build-target/linux= -x.x.x/...)
2. ptxdist drop kernel.compile
3. ptxdist go
4. ptxdist images

Good luck,
=C2=A0~Matthias

>
> Please help me in this regard.
>
> Thanks & Regards.
> Prabhakar.
>
>
>
>
> On Fri, Oct 23, 2015 at 4:17 PM, Juergen Borleis <
jbe@pengutronix.de>
> wrote:
> Hi Prabhakar,
>
> On Thursday 22 October 2015 04:48:48 Prabhakara Rao Kolusu (WMSC-HW) > wrote:
> > I would like to know how to apply a patch to a already extracted = package.
> > I do not want to remove the source directory of package and re ex= tract it.
> >
> > Could you please help me if there is an easy method.
>
> Do you mean you want to add your patch in a persistent manner or just = add it
> and test something?
>
> You could refer the PTXdist manual[1], section 4.2.5 for example.
>
> Regards,
> Juergen
>
> [1]
> http://www.pengutronix.de/softwa= re/ptxdist/appnotes/OSELAS.BSP-
> Pengutronix-Generic-arm-Quickstart.pdf
>
> --
> Pengutronix e.K. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Juergen Borleis =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | Industrial Linux
> Solutions =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| http://www.pengutronix.de/ =C2=A0|

--
ptxdist mailing list
ptxdist@pengutronix.de

--001a11c2980e454b0005230ce1ef-- --===============0501883058== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============0501883058==--