<div dir="ltr"><div dir="ltr">Hello All,<div><br></div><div>I have a FAI setup running with two classes lets call them "CLASS1" and "CLASS2".</div><div>Additional to other things these classes define some package installation / uninstallations.<br></div><div>Both classes reference two packages where CLASS1 says app1 install and app2 unisntall and CLASS2 says app1 uninstall and app2 install.</div><div>Since the order of both classes defined is CLASS1 CLASS2 I would estimate that CLASS2 settings apply since this is the 'higher' class - unfortunately this is not always the case...<br></div><div><br></div><div>And here is what I found and why i say 'not always':</div><div>The configuration blocks of "PACKAGES install CLASS1" & "PACKAGES install CLASS2" are both within ONE package_config file of a third class STRETCH64.</div><div><br></div><div>If the STRETCH64 file looks like following the settings of CLASS2 get applied:</div><div>------------------------------------------------</div><div>PACKAGES install CLASS1</div><div>app1</div><div>app2-</div><div><br></div><div>PACKAGES install CLASS2</div><div>app1-</div><div>app2</div><div>------------------------------------------------<br></div><div><br></div><div><div>BUT if the STRETCH64 file looks like following the settings of CLASS1 get applied:</div><div>------------------------------------------------</div><div><div>PACKAGES install CLASS2</div><div>app1-</div><div>app2</div></div><div><br></div><div>PACKAGES install CLASS1</div><div>app1</div><div>app2-</div><div>------------------------------------------------<br>(I just changed the order of the configuration blocks!)</div></div><div><br></div><div>I know from the "FAI Guide" that "<span style="color:rgb(62,67,73);font-family:Garamond,Georgia,serif;font-size:17px">The order of the classes is important because it defines the priority of the classes from low to high.</span>"</div><div>But from my understanding this mainly applies to the order of how classes are defined - not how they are listed in the package_config file.</div><div><br></div><div>So currently I am not sure if this is by design or a bug.</div><div>As of today I use the workaround of changing the order of my classes in package_config file,</div><div>but since I am working a lot with profiles in some day I maybe need to have the order of CLASS2 CLASS1 and have no way out of this topic.</div><div><br></div><div>Thank you for your inputs</div><div><br></div><div>Kind Regards</div><div><br></div><div>MartinĀ <br><br></div><div><br></div><div><br></div><div><br></div></div></div>