-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration: Class OpenCoreBuild
This wiki page will detail the opencore/build.py OpenCoreBuild class and methods, used to generate the OpenCore tree and configuration for macOS.
Generates the EFI tree and config.plist file.
Constructs a new OpenCoreBuild object.
- param
directory: Path of the build directory
Inserts kexts into kernel Add data settings.
- param
kexts: List of kext properties to be applied
Inserts patches into kernel Patch data settings.
- param
kexts: List of patch properties to be applied
Copies directories and files recursively.
- param
source: Source path - param
destination: Destination path
Extracts the contents of a zip file directly from Internet.
- param
file: File name - param
directory: Directory name where file will be extracted - param
local: Local file will be extracted
Builds the kext files structure.
- param
repo: Repo name - param
project: Project name - param
version: Project version - param
debug: Install DEBUG release
Builds the OpenCore files structure.
- param
version: Project version - param
debug: Install DEBUG release
Prints bold text.
Runs miscellaneous post install tasks.
Transforms the binary data represented by the hexadecimal string.
- param
string: String to transform
Example of Hex value transformed into Base64 Data value:

Updates existing settings with new settings.
- param
result: Default settings - param
settings: Settings to be updated
Generates the OpenCore configuration file.
- param
settings: Settings to be updated
Generates the OpenCore files structure.
- param
debug: Install DEBUG release
An AXIVO Original Production