[elbe-devel] [PATCH] examples: Rework armel rescue example

John Ogness john.ogness at linutronix.de
Thu Aug 31 11:51:23 CEST 2017


Hi Holger,

On 2017-08-31, Holger Dengler <dengler at linutronix.de> wrote:
> +			<command>echo "#!/bin/sh" >  /etc/init.d/rcS</command>
> +			<command>echo "mount -a"  >> /etc/init.d/rcS</command>

Does this work correctly? I would expect the XML not to validate because
of the '>' usage in your commands.

I would expect it would need to be:

    echo "#!/bin/sh" > /etc/init.d/rcS

or, as I prefer in my own recipes:

    echo "#!/bin/sh" | tee /etc/init.d/rcS

John Ogness



More information about the elbe-devel mailing list