[OE-core] how to exclude files when packaging?

Chris Larson clarson at kergoth.com
Thu Nov 17 19:43:35 UTC 2011


On Thu, Nov 17, 2011 at 12:38 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
> On 11/17/11 3:12 AM, Ni Qingliang wrote:
>>
>> I still think that the 'exclude" feature would be better.:)
>
> IMHO an exclude function would simply be an automated rm -f <list> at the
> end of the install process.
>
> It should be fairly easy to implement this if someone thinks it's a better
> idea then making individual recipes run a rm -f of their own.

I wonder if, in general, it'd be useful to implement glob exclusions.
In other words, our list of patterns could become more like a
.gitignore file:
/foo/*
!/foo/bar
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics




More information about the Openembedded-core mailing list