[bitbake-devel] Want to fetch only files which are having ".new" or ".replace" extention to the ${WORKDIR}.

parmeshwar tak parmesh.iiit at gmail.com
Mon Apr 13 09:17:33 UTC 2015


Hi All,

Can any one share the sample python script to fetch only specific file
from git repo??

On Mon, Apr 13, 2015 at 1:48 PM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
> On Thursday 09 April 2015 17:55:38 parmeshwar tak wrote:
>> I have a simple problem, any one can answer.
>> I have a repo "rdk\build_script", and branch ="xyz".
>> I need to write a bbappend where the path "patches/Refsw" has some
>> files with ".new" and ".replace" extention.
>>
>> I want to fetch only files which are having ".new" or ".replace"
>> extention to the ${WORKDIR}.
>
> There is no build-in support for this - you'll need to write additional code
> (in the form of python code in a do_unpack_append, or an additional function.)
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre



-- 
Regards
-----------------------------
~Parmeshwar Tak~
MSIT 2010
IIIT Hyderabad



More information about the bitbake-devel mailing list