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

Holger Dengler dengler at linutronix.de
Thu Aug 31 11:56:59 CEST 2017


Hi John,

On 08/31/2017 11:51 AM, John Ogness wrote:
> 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

I would prefer the tee-solution. I'll resend both patches.

> 
> John Ogness
> 

-- 
Gruß,
Holger Dengler
--
phone: +49 7556 25 999 14; fax: +49 7556 25 999 99

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20170831/702aa2e5/attachment.sig>


More information about the elbe-devel mailing list