package uninstall & install - different classes
Thomas Lange
lange at informatik.uni-koeln.de
Mon May 6 10:34:40 CEST 2019
Your observation is correct. The order of classes are important when
selecting configuration files, but do not matter inside a
package_config file itself. The script install_packages reads the files in
subdirectory package_config in the order given by the classes. But each
file is read from the beginning to the end. If a line
PACKAGE install CLASSA
is found it justs checks if CLASSA is also defined, otherwise skips
this part. So inside thise config the class is more like a true/false flag.
It's not easy to change this, because you can list multiple classes
after the PACKAGE install marker which forms a logical OR
function. It's then hard to decide to which class the packages listed
should be assigned to.
In your case, is it possible to change your config by creating two
files named CLASS1 and CLASS2 which each include a section PACKAGES
install STRETCH64? Would that help you?
--
regards Thomas
More information about the linux-fai
mailing list