Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
rusty-bits edited this page Aug 4, 2020 · 18 revisions

Welcome to the OC-tool wiki!

OC-tool is a POSIX shell script that builds an OpenCore EFI folder for the OpenCore bootloader from an OpenCore config.plist

It will download from prebuilt sources by default, no need to use macOS or Xcode to create the resources for the EFI folder.

It will also build from source, but this does require the use of Xcode-tools so as far as I know compiling from source will need macOS.

The tool reads an OpenCore config.plist file and makes a list of the Kexts, Drivers, Tools, and ACPI files that are enabled. It downloads or builds all required resources and then creates a complete EFI folder that can be dropped into a boot partition. It also checks the Misc/Security/RequireVault setting in config.plist and builds the required vault.plist and vault.sig files automatically if needed.


Notes:

  • enabled resources that are found in the extras folder will take priority and OC-tool will use that copy instead of downloading or building something newer
  • rewrote code to be POSIX compliant so it will run without issue in sh

The first run pulls and build all needed files.


Following runs only pull and build new or changed requirements.
For example, here the Shell.efi tool has been enabled in config.plist and the build is being done from latest source