[elbe-devel] [PATCH v2 0/8] project-finetuning

John Ogness john.ogness at linutronix.de
Thu Dec 6 14:49:17 CET 2018


On 2018-12-06, Manuel Traut <manut at linutronix.de> wrote:
>> 	<projcmd>echo "README" > README</projcmd>
>
> I really don't like to execute commands in the initvm. The commands are executed
> as root and you can do EVERYTHING, even alter neighbour projects.
>
> All that is needed there should be implemented using special actions, e.g.
>
>   <file name=README owner=root, group=root, chmod=644>README</file>
>
> for the above.

Since you brought it up...

If a new "file" tag (or something similar) should be added, it should be
carefully considered. Nearly every XML file I've ever written includes
either:

    echo blah %gt; somefile

or

    echo blah %gt;> somefile

It is quite common to write, re-write, or append to existing files in
the finetuning. I would love it if we had something that took care of
the ugly shell redirections just to write/append files.

John Ogness



More information about the elbe-devel mailing list