<div dir="ltr">Hi, Leonardo:<div><br></div><div>I would like to explain our scenario: we want to show our costumers the following tips:</div><div>...</div><div><div>### Shell environment set up for AtlasCopco builds. ###</div><div><br></div><div>You can now start a build with:</div><div>F=<features> D=<distro> M=<machine> bitbake <target> [-c task]</div></div><div>...</div><div><br></div><div>and they are duplicated with the header in <span style="font-size:14px">oe-setup-buildir, I could not find a way to override them without this patch. Or maybe you have any other suggestions?</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">//Ming Liu</span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-21 16:47 GMT+02:00 Leonardo Sandoval <span dir="ltr"><<a href="mailto:leonardo.sandoval.gonzalez@linux.intel.com" target="_blank">leonardo.sandoval.gonzalez@linux.intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2017-08-21 at 13:45 +0200, <a href="mailto:liu.ming50@gmail.com">liu.ming50@gmail.com</a> wrote:<br>
> From: Ming Liu <<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>><br>
><br>
> This allows the end users to be able to override the entire notes<br>
> showing on the shell console. For instance, Our company uses a<br>
> external conf-notes.txt, and we run bitbake with some extra variables,<br>
> looks like: F=xxx D=xxx M=xxx bitbake <target>, so we want to show<br>
> exactly these texts on the shell console, that's why we need this<br>
> change.<br>
><br>
<br>
</span>I do not clearly spot the real gain. oe-setup-buildir just plots the<br>
header and you can include what you specific stuff into conf-notes. The<br>
header string does not strictly belongs to conf-notes, at least not<br>
semantically.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> Signed-off-by: Ming Liu <<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>><br>
> ---<br>
> meta/conf/conf-notes.txt | 5 +++++<br>
> scripts/oe-setup-builddir | 7 -------<br>
> 2 files changed, 5 insertions(+), 7 deletions(-)<br>
><br>
> diff --git a/meta/conf/conf-notes.txt b/meta/conf/conf-notes.txt<br>
> index 2f2932b..f1a4f4d 100644<br>
> --- a/meta/conf/conf-notes.txt<br>
> +++ b/meta/conf/conf-notes.txt<br>
> @@ -1,3 +1,8 @@<br>
> +<br>
> +### Shell environment set up for builds. ###<br>
> +<br>
> +You can now run 'bitbake <target>'<br>
> +<br>
> Common targets are:<br>
> core-image-minimal<br>
> core-image-sato<br>
> diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir<br>
> index ef49551..55d73ca 100755<br>
> --- a/scripts/oe-setup-builddir<br>
> +++ b/scripts/oe-setup-builddir<br>
> @@ -133,13 +133,6 @@ EOM<br>
> # unset SHOWYPDOC<br>
> fi<br>
><br>
> -cat <<EOM<br>
> -<br>
> -### Shell environment set up for builds. ###<br>
> -<br>
> -You can now run 'bitbake <target>'<br>
> -<br>
> -EOM<br>
> if [ -z "$OECORENOTESCONF" ]; then<br>
> OECORENOTESCONF="$OEROOT/meta/<wbr>conf/conf-notes.txt"<br>
> fi<br>
> --<br>
> 2.7.4<br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div>