Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Robert Yang <liezhi.yang@windriver.com>, Chen Qi <Qi.Chen@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH V3 09/11] populate_sdk_ext.bbclass: add ESDK_MANIFEST_EXCLUDES
Date: Fri, 06 Jul 2018 12:12:06 +0200	[thread overview]
Message-ID: <52791220.vcYpphDNgo@localhost.localdomain> (raw)
In-Reply-To: <99ad3edc2b6c1e86c3a9a377a1bf245bced38148.1528252931.git.liezhi.yang@windriver.com>

Hi Robert / Chen

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




  reply	other threads:[~2018-07-06 10:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06  2:54 [PATCH V3 00/11] meta: various fixes Robert Yang
2018-06-06  2:54 ` [PATCH V3 01/11] base.bbclass: Add buildcfg multilib values Robert Yang
2018-06-06  2:54 ` [PATCH V3 02/11] lsof: fix LSOF_CCV in version.h Robert Yang
2018-06-06 11:52   ` Burton, Ross
2018-06-07  7:03     ` Robert Yang
2018-06-06  2:54 ` [PATCH V3 03/11] busybox: handle syslog Robert Yang
2018-06-06  2:54 ` [PATCH V3 04/11] xinetd: add Init Script Actions to xinetd script Robert Yang
2018-06-06  2:54 ` [PATCH V3 05/11] oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN Robert Yang
2018-06-06  2:54 ` [PATCH V3 06/11] rootfs-postcommands: split ssh_allow_empty_password Robert Yang
2018-06-06  2:54 ` [PATCH V3 07/11] dropbear: add default config file to disable root login Robert Yang
2018-06-06  2:54 ` [PATCH V3 08/11] toolchain-scripts.bbclass: do not extend dependency if extended already Robert Yang
2018-06-06  2:54 ` [PATCH V3 09/11] populate_sdk_ext.bbclass: add ESDK_MANIFEST_EXCLUDES Robert Yang
2018-07-06 10:12   ` Paul Eggleton [this message]
2018-07-06 10:17     ` Robert Yang
2018-07-13  2:23     ` Robert Yang
2018-06-06  2:54 ` [PATCH V3 10/11] rpcbind: add option to make user able to use fixed port number Robert Yang
2018-06-06  2:54 ` [PATCH V3 11/11] openssl-nativesdk: Fix "can't open config file" warning Robert Yang
2018-06-20  2:54 ` [PATCH V3 00/11] meta: various fixes Robert Yang
2018-07-03  3:58 ` Robert Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52791220.vcYpphDNgo@localhost.localdomain \
    --to=paul.eggleton@linux.intel.com \
    --cc=Qi.Chen@windriver.com \
    --cc=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox