[OE-core] [PATCH V3 09/11] populate_sdk_ext.bbclass: add ESDK_MANIFEST_EXCLUDES

Paul Eggleton paul.eggleton at linux.intel.com
Fri Jul 6 10:12:06 UTC 2018


Hi Robert / Chen

On Wednesday, 6 June 2018 4:54:44 AM CEST Robert Yang wrote:
> From: Chen Qi <Qi.Chen at 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.

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 
?

Cheers,
Paul



-- 

Paul Eggleton
Intel Open Source Technology Centre





More information about the Openembedded-core mailing list