[elbe-devel] [PATCH 1/3] finetuning: Add image partition shell action

Olivier Dion dion at linutronix.de
Fri Jun 26 17:09:35 CEST 2020


On Wed, 24 Jun 2020, Torben Hohn <torben.hohn at linutronix.de> wrote:
> On Mon, Jun 22, 2020 at 01:14:46PM -0400, Olivier Dion wrote:
>> Scripts defined under nodes losetup/sh are written to
>> builddir/finetuning-lostup-sh-%d, where %d is the partition number of
>> the image.  They are then executed with ELBE_MNT set to the mount
>> point of the target partition.
>
> i dont see the point in writing the script to a file, before executing
> it.
>
> why dont you just do(script) ?

Wasn't sure if 'do()' would allow multi-line script and here doc.
You're okay with the ELBE_MNT env?

-- 
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen



More information about the elbe-devel mailing list