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