From 7463d56ffc7fb6dfebb4583f1491a7b40cc9d43d Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sat, 30 Oct 2021 07:51:26 -0600 Subject: [PATCH] Adjust SIP naming --- CHANGELOG.md | 1 + README.md | 7 ------- resources/build.py | 2 +- resources/cli_menu.py | 4 ++-- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2ecedda7..7422460e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Implement spoofless support (ie. no SMBIOS patching) - Requires macOS 11.3 or newer, for 11.2.3 and older use Minimal or higher spoofing - See additional notes before updating: [VMM usage notes](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/543#issuecomment-953441283) +- Adjust SIP setting to better reflect current SIP usage ## 0.3.1 - Increment Binaries: diff --git a/README.md b/README.md index 94829b9e9..edf12ca0d 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,6 @@ To get aid with the patcher, we recommend joining the [OpenCore Patcher Paradise * [OpenCore Legacy Patcher's Issue's tab](https://github.com/dortania/OpenCore-Legacy-Patcher/issues) -Nightly builds can be found here courteous of nightly.link: - -* [Nightly OpenCore Patcher (GUI)](https://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-gui/main/OpenCore-Patcher-GUI.app.zip) -* [Nightly OpenCore Patcher (TUI)](https://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-app/main/OpenCore-Patcher-TUI.app.zip) - * [Offline Variant](https://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-app-offline/main/OpenCore-Patcher-TUI-Offline.app.zip) (No network connection needed on target Mac for Root Patching) -* [Nightly OpenCore Patcher (CLI)](https://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-gui/main/OCLP-CLI.zip) - ## Credits * [Acidanthera](https://github.com/Acidanthera) diff --git a/resources/build.py b/resources/build.py index aaf76b147..93c267e08 100644 --- a/resources/build.py +++ b/resources/build.py @@ -727,7 +727,7 @@ class BuildOpenCore: print(f"- Setting SIP value to: {self.constants.custom_sip_value}") self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = utilities.string_to_hex(self.constants.custom_sip_value.lstrip("0x")) elif self.constants.sip_status is False: - print("- Disabling SIP") + print("- Set SIP to allow Root Volume patching") self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = binascii.unhexlify("030A0000") # if self.constants.amfi_status is False: # print("- Disabling AMFI") diff --git a/resources/cli_menu.py b/resources/cli_menu.py index 4ec9bcef8..51d63001f 100644 --- a/resources/cli_menu.py +++ b/resources/cli_menu.py @@ -166,13 +166,13 @@ Note: For security reasons, OpenShell will be disabled when Vault is set. utilities.header(["Set System Integrity protection"]) print( f"""SIP is used to ensure proper secuirty measures are set, -however to patch the root volume this must be disabled. +however to patch the root volume this must be lowered partially. Only disable is absolutely necessary. SIP value = 0xA03 Valid options: 1. Enable SIP -2. Disable SIP +2. Lower SIP partially (allow root volume patching) 3. Set Custom SIP value {self.constants.custom_sip_value} Q. Return to previous menu