<div>Yes, you are right.</div><div>The mistake was in local setting because DISTRO_VERSION was set to &quot;-${DATE}&quot; and the minus created</div><div>the install error.</div><div>Locally solved, please discard the patch.</div>
<div>Thanks,</div><div>Giuseppe<br><br></div><div class="gmail_quote">2012/10/23 Martin Jansa <span dir="ltr">&lt;<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>&gt;</span><br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div class="im">On Mon, Oct 22, 2012 at 05:32:32PM +0200, Giuseppe CONDORELLI wrote:<br>
&gt; Fixed error in do_install_basefilesissue, printf is now replaced by echo.<br>
<br>
</div>Looks like partial revert of<br>
<br>
commit a19880ad10ccb5d7d909dcf9de5c3dc58a0ebcd3<br>
Author: Andrei Gherzan &lt;<a href="mailto:andrei@gherzan.ro">andrei@gherzan.ro</a>&gt;<br>
Date:   Thu Sep 20 12:56:59 2012 +0300<br>
<br>
    Replace &quot;echo -e&quot; with &quot;printf&quot; to have the same behavior in dash or bash<br>
<br>
    oe-core removed the prerequisite to have sh as bash. POSIX doesn&#39;t define<br>
    any options and furthermore allows &#39;echo -e&#39; to be the default behavior.<br>
    This means that in dash &#39;echo -e&#39; will actually print &#39;-e&#39; and interpret<br>
    backslashes by default. We use instead &#39;printf&#39; builtin command with or<br>
    without &#39;\n&#39; to simulate &#39;echo -e&#39; or &#39;echo -n&#39;.<br>
    &#39;printf&#39; needs format while &#39;echo&#39; can be used without any arguments. So<br>
    &#39;echo &gt;&#39; was replaced by &#39;printf &quot;&quot; &gt;&#39;.<br>
    &#39;echo&#39; without &#39;-n&#39; flag adds a new line by default so to keep the same<br>
    behavior of two new lines while using &#39;echo &quot;\n&quot;&#39;, &#39;printf &quot;\n\n&quot;&#39; is<br>
    used.<br>
<br>
    [YOCTO #3138]<br>
<br>
with very weak explanation why..<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; Signed-off-by: Giuseppe Condorelli &lt;<a href="mailto:giuseppe.condorelli@st.com">giuseppe.condorelli@st.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/recipes-core/base-files/<a href="http://base-files_3.0.14.bb" target="_blank">base-files_3.0.14.bb</a> |    8 ++++----<br>
&gt;  1 files changed, 4 insertions(+), 4 deletions(-)<br>
&gt;<br>
&gt; diff --git a/meta/recipes-core/base-files/<a href="http://base-files_3.0.14.bb" target="_blank">base-files_3.0.14.bb</a> b/meta/recipes-core/base-files/<a href="http://base-files_3.0.14.bb" target="_blank">base-files_3.0.14.bb</a><br>

&gt; index ba355ee..766b0e5 100644<br>
&gt; --- a/meta/recipes-core/base-files/<a href="http://base-files_3.0.14.bb" target="_blank">base-files_3.0.14.bb</a><br>
&gt; +++ b/meta/recipes-core/base-files/<a href="http://base-files_3.0.14.bb" target="_blank">base-files_3.0.14.bb</a><br>
&gt; @@ -117,11 +117,11 @@ do_install_basefilesissue () {<br>
&gt;<br>
&gt;       install -m 644 ${WORKDIR}/issue*  ${D}${sysconfdir}<br>
&gt;          if [ -n &quot;${DISTRO_NAME}&quot; ]; then<br>
&gt; -             printf &quot;${DISTRO_NAME} &quot; &gt;&gt; ${D}${sysconfdir}/issue<br>
&gt; -             printf &quot;${DISTRO_NAME} &quot; &gt;&gt; ${D}${sysconfdir}/<a href="http://issue.net" target="_blank">issue.net</a><br>
&gt; +             echo &quot;${DISTRO_NAME} &quot; &gt;&gt; ${D}${sysconfdir}/issue<br>
&gt; +             echo &quot;${DISTRO_NAME} &quot; &gt;&gt; ${D}${sysconfdir}/<a href="http://issue.net" target="_blank">issue.net</a><br>
&gt;               if [ -n &quot;${DISTRO_VERSION}&quot; ]; then<br>
&gt; -                     printf &quot;${DISTRO_VERSION} &quot; &gt;&gt; ${D}${sysconfdir}/issue<br>
&gt; -                     printf &quot;${DISTRO_VERSION} &quot; &gt;&gt; ${D}${sysconfdir}/<a href="http://issue.net" target="_blank">issue.net</a><br>
&gt; +                     echo &quot;${DISTRO_VERSION} &quot; &gt;&gt; ${D}${sysconfdir}/issue<br>
&gt; +                     echo &quot;${DISTRO_VERSION} &quot; &gt;&gt; ${D}${sysconfdir}/<a href="http://issue.net" target="_blank">issue.net</a><br>
&gt;               fi<br>
&gt;               echo &quot;\n \l&quot; &gt;&gt; ${D}${sysconfdir}/issue<br>
&gt;               echo &gt;&gt; ${D}${sysconfdir}/issue<br>
&gt; --<br>
&gt; 1.7.4.4<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Martin &#39;JaMa&#39; Jansa     jabber: <a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a><br>
</font></span><br>_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
<br></blockquote></div><br>