get_system_compatibility_score


Description:

public int get_system_compatibility_score (SystemInfo sysinfo, bool is_template, out GenericArray<unowned RelationCheckResult> results)

Return a score between 0 and 100 determining how compatible the component is with the system configuration provided as parameter.

0 means the componsnt will not work at all, while 100 is best compatibility.

Parameters:

this

a Component instance.

sysinfo

an SystemInfo to use for system information.

is_template

if true, treat system info as neutral template, ignoring any peripheral devices or kernel relations.

results

Receive the resulting check results

Returns:

a compatibility score between 0 and 100