Skip to content

Conf mgmt

conf_mgmt

Handle Edk2 Conf Management.

Customized for edk2-pytool-extensions based build and support dynamic Visual studio support 2017++

ConfMgmt

Handles Edk2 Conf Management.

__init__

__init__() -> None

Init an empty ConfMgmt object.

populate_conf_dir

populate_conf_dir(
    conf_folder_path: str,
    override_conf: bool,
    conf_template_src_list: list,
) -> None

Compare the conf dir files to the template files.

Copy files if they are not present in the conf dir or the override parameter is set.

Parameters:

Name Type Description Default
conf_folder_path str

folder path to output conf location (absolute path)

required
override_conf bool

boolean to indicate if templates files should replace conf files regardless of existence or version.

required
conf_template_src_list list

priority list of folder path that might contain a "Conf" older with template files to use

required