<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=&lt;features&gt; D=&lt;distro&gt; M=&lt;machine&gt; bitbake &lt;target&gt; [-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">&lt;<a href="mailto:leonardo.sandoval.gonzalez@linux.intel.com" target="_blank">leonardo.sandoval.gonzalez@linux.intel.com</a>&gt;</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>
&gt; From: Ming Liu &lt;<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>&gt;<br>
&gt;<br>
&gt; This allows the end users to be able to override the entire notes<br>
&gt; showing on the shell console. For instance, Our company uses a<br>
&gt; external conf-notes.txt, and we run bitbake with some extra variables,<br>
&gt; looks like: F=xxx D=xxx M=xxx bitbake &lt;target&gt;, so we want to show<br>
&gt; exactly these texts on the shell console, that&#39;s why we need this<br>
&gt; change.<br>
&gt;<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>
&gt; Signed-off-by: Ming Liu &lt;<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/conf/conf-notes.txt  | 5 +++++<br>
&gt;  scripts/oe-setup-builddir | 7 -------<br>
&gt;  2 files changed, 5 insertions(+), 7 deletions(-)<br>
&gt;<br>
&gt; diff --git a/meta/conf/conf-notes.txt b/meta/conf/conf-notes.txt<br>
&gt; index 2f2932b..f1a4f4d 100644<br>
&gt; --- a/meta/conf/conf-notes.txt<br>
&gt; +++ b/meta/conf/conf-notes.txt<br>
&gt; @@ -1,3 +1,8 @@<br>
&gt; +<br>
&gt; +### Shell environment set up for builds. ###<br>
&gt; +<br>
&gt; +You can now run &#39;bitbake &lt;target&gt;&#39;<br>
&gt; +<br>
&gt;  Common targets are:<br>
&gt;      core-image-minimal<br>
&gt;      core-image-sato<br>
&gt; diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir<br>
&gt; index ef49551..55d73ca 100755<br>
&gt; --- a/scripts/oe-setup-builddir<br>
&gt; +++ b/scripts/oe-setup-builddir<br>
&gt; @@ -133,13 +133,6 @@ EOM<br>
&gt;  #    unset SHOWYPDOC<br>
&gt;  fi<br>
&gt;<br>
&gt; -cat &lt;&lt;EOM<br>
&gt; -<br>
&gt; -### Shell environment set up for builds. ###<br>
&gt; -<br>
&gt; -You can now run &#39;bitbake &lt;target&gt;&#39;<br>
&gt; -<br>
&gt; -EOM<br>
&gt;  if [ -z &quot;$OECORENOTESCONF&quot; ]; then<br>
&gt;      OECORENOTESCONF=&quot;$OEROOT/meta/<wbr>conf/conf-notes.txt&quot;<br>
&gt;  fi<br>
&gt; --<br>
&gt; 2.7.4<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br></div>