HI Paul,

On 07/06/2018 06:12 PM, Paul Eggleton wrote:
Hi Robert / Chen

On Wednesday, 6 June 2018 4:54:44 AM CEST Robert Yang wrote:
From: Chen Qi <qi.c...@windriver.com>

Add ESDK_MANIFEST_EXCLUDES to enable excluding items in sdk-conf-manifest.

By default, files under conf/ are all added to sdk-conf-manifest, as the
manifest file is set to 'conf/*'.

However, there are situations where some configuration files under conf/
directory are not intended to be added to sdk-conf-manifest, thus adding
ESDK_MANIFEST_EXCLUDES to enable users to do this.

This variable takes the form of glob matching.
e.g.
ESDK_MANIFEST_EXCLUDES = "conf/autogen*"
This would exclude all files under conf/ starting with 'autogen' from
sdk-conf-manifest.

This patch (and 05/11, SDK_LAYERS_EXCLUDE*) worry me a little in that they
have the potential to break the resulting eSDK or make it behave in a manner
that is different from the build system that produced it. Having said that
it's going to be reasonably clear to the user what's happened, assuming they
remember they set these variables and in any case I don't expect these are
going to be set by many people. Accordingly I won't object to these patches,
but could you please add a warning about this issue to the commit message for
both? We'd also better ensure they get documented with similar warnings.

I think that a bb.note() is enough for it, we don't set them by default,
but set by users, so they should know something is excluded. So I will add
a bb.note for it:

bb.note('Exclude %s since it is in SDK_CONF_MANIFEST_EXCLUDE' % fn)


Apart from that I'd like to see a different name for the variable here - we
don't use the prefix ESDK_ anywhere else, so perhaps SDK_CONF_MANIFEST_EXCLUDE
?

Thanks, I will update to SDK_CONF_MANIFEST_EXCLUDE in V4.

// Robert


Cheers,
Paul



--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to