« Previous | Next » 

Revision a025e535

IDa025e5357f52b8be0cb5bf30ea88722005ca1099

Added by Vitaly Kuznetsov over 12 years ago

Fix OS_VARIANT variable setting

This was introduced in efaa9b06d1e1e6d1678d0edd75b1ba37cf0de3d9.

in OSCoreEnv:
inst_os.name is pure operating system name (without variant) as variant is stripped
in OSFromDisk(). So we always get variant = inst_os.supported_variants[0] (first
variant in variants list).
Adding argument os_name with full name (including variant) solves this problem.

Signed-off-by: Vitaly Kuznetsov <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>
[modified by iustin to handle the call to OSCoreEnv from ValidateOS too]
Reviewed-by: Michael Hanselmann <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences