<div dir="ltr"><div dir="ltr">&gt; On Fri, 2019-02-08 at 00:20 -0800, Leonardo Augusto wrote:<br>[...]<br>&gt; &gt;<br>&gt; &gt; diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py<br>&gt; &gt; index 4662c665c0..b4be796752 100644<br>&gt; &gt; --- a/scripts/lib/wic/engine.py<br>&gt; &gt; +++ b/scripts/lib/wic/engine.py<br>&gt; &gt; @@ -331,7 +331,7 @@ class Disk:<br>&gt; &gt;      def copy(self, src, pnum, path):<br>&gt; &gt;          &quot;&quot;&quot;Copy partition image into wic image.&quot;&quot;&quot;<br>&gt; &gt;          if self.partitions[pnum].fstype.startswith(&#39;ext&#39;):<br>&gt; &gt; -            cmd = &quot;echo -e &#39;cd {}\nwrite {} {}&#39; | {} -w {}&quot;.\<br>&gt; &gt; +            cmd = &quot;echo &#39;cd {}\nwrite {} {}&#39; | {} -w {}&quot;.\<br>&gt; <br>&gt; This causes some shell&#39;s echos to output a literal \n (two characters, &#39;\&#39; <br>&gt; and &#39;n&#39;).<br>&gt; <br>&gt; The solution should be to use printf instead of echo...<br><br>Yes, indeed. I&#39;ve just sent out a v3 based on your suggestion.<br><br>Thanks!<br></div></div>