[elbe-devel] Ordering of <finetuning/> and <pkg-list/> elements

Manuel Traut manuel.traut at linutronix.de
Thu Apr 5 15:19:47 CEST 2018


Hi Lukasz,

> I was always wondering, why do you enforce a particular ordering of <finetuning/> and <pkg-list/> elements in the XML input?
> 
> I ask this question, because (in my view) an intuitive order would be: 1) <pkg-list/>, 2) <finetuning/>, since it corresponds to the order in which elbe executes the respective operations: first it installs the packages from the <pkg-list/> and then it runs commands from <finetuning/>. However, the order enforced by the XSD schema is just the opposite. What is the rationale behind?
> 
> Why do you enforce ordering of XML elements whatsoever?

there is no (technical) reason for this.

There is even a long existing issue:
https://github.com/Linutronix/elbe/issues/68

  Manuel



More information about the elbe-devel mailing list