Re: [yocto] Patching a file in $WORKDIR

2019-07-17 Thread Siegel, Jeffrey (Nokia - US/Murray Hill)
s, Jeff -Original Message- From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Wednesday, July 17, 2019 6:01 AM To: Siegel, Jeffrey (Nokia - US/Murray Hill) Cc: yocto@yoctoproject.org Subject: Re: [yocto] Patching a file in $WORKDIR On Tue, 16 Jul 2019 at 17:45, Siegel, Jeffrey (Nokia

Re: [yocto] Patching a file in $WORKDIR

2019-07-17 Thread Burton, Ross
On Tue, 16 Jul 2019 at 17:45, Siegel, Jeffrey (Nokia - US/Murray Hill) wrote: > I am trying to use a bbappend file to patch a file in $WORKDIR. To my > understanding, the native Yocto patching process only works for patching > files in $S. No, the default directory for patch application is $S

Re: [yocto] Patching a file in $WORKDIR

2019-07-17 Thread Gabriele Zampieri
Hi Jeffrey, the extension "ptch" is not treated as patchfile by Yocto (only *.diff and *.patch). You have two options: - Rename your patch in inputrc.patch - Adding the apply switch: SRC_URI_append =" file://inputrc.ptch;apply=yes" In this way you are telling yocto that

[yocto] Patching a file in $WORKDIR

2019-07-16 Thread Siegel, Jeffrey (Nokia - US/Murray Hill)
Hi, I am trying to use a bbappend file to patch a file in $WORKDIR. To my understanding, the native Yocto patching process only works for patching files in $S. I have come up with a solution: FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI_append =" file://inputrc.ptch" do_patch_append