Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48deaa9f46 | ||
|
|
0899233085 | ||
|
|
39cbeefef8 | ||
|
|
98c4663f43 | ||
|
|
76c1250cc5 |
@@ -1 +1 @@
|
|||||||
2.6.5
|
2.7.0
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
# 8.0.1 (2020-01-01)
|
||||||
|
|
||||||
|
- Added Startup Security Utility to README.
|
||||||
|
- Updated README screencast.
|
||||||
|
- Updated to Ruby 2.7.0.
|
||||||
|
- Refactored caffeinate machine function to process grep.
|
||||||
|
|
||||||
# 8.0.0 (2019-10-12)
|
# 8.0.0 (2019-10-12)
|
||||||
|
|
||||||
- Updated to Rake 13.0.0.
|
- Updated to Rake 13.0.0.
|
||||||
|
|||||||
31
README.md
31
README.md
@@ -31,6 +31,7 @@ the two projects are meant to be used:
|
|||||||
- [Setup](#setup)
|
- [Setup](#setup)
|
||||||
- [Usage](#usage)
|
- [Usage](#usage)
|
||||||
- [Boot Disk](#boot-disk)
|
- [Boot Disk](#boot-disk)
|
||||||
|
- [Startup Security Utility](#startup-security-utility)
|
||||||
- [Customization](#customization)
|
- [Customization](#customization)
|
||||||
- [Troubleshooting](#troubleshooting)
|
- [Troubleshooting](#troubleshooting)
|
||||||
- [Versioning](#versioning)
|
- [Versioning](#versioning)
|
||||||
@@ -60,7 +61,7 @@ the two projects are meant to be used:
|
|||||||
|
|
||||||
## Screencast
|
## Screencast
|
||||||
|
|
||||||
[](https://asciinema.org/a/263059)
|
[](https://asciinema.org/a/278158)
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
@@ -76,7 +77,7 @@ Current Version (stable):
|
|||||||
|
|
||||||
git clone https://github.com/bkuhlmann/mac_os.git
|
git clone https://github.com/bkuhlmann/mac_os.git
|
||||||
cd mac_os
|
cd mac_os
|
||||||
git checkout 8.0.0
|
git checkout 8.0.1
|
||||||
|
|
||||||
Master Version (unstable):
|
Master Version (unstable):
|
||||||
|
|
||||||
@@ -154,6 +155,32 @@ documentation (provided here for reference):
|
|||||||
4. Wait for the macOS installer to load from the recovery partition.
|
4. Wait for the macOS installer to load from the recovery partition.
|
||||||
5. Use the dialog options to launch Disk Utility, reinstall the system, etc.
|
5. Use the dialog options to launch Disk Utility, reinstall the system, etc.
|
||||||
|
|
||||||
|
Depending on your security settings, you might need to use the Startup Security Utility before using
|
||||||
|
the Boot Disk (see below).
|
||||||
|
|
||||||
|
### [Startup Security Utility](https://support.apple.com/en-us/HT208198)
|
||||||
|
|
||||||
|
With newer hardware, you should be running with the Apple T2 Security Chip (found via → About This
|
||||||
|
Mac → Overview → System Report → Controller). In order to boot your machine using the Boot Disk,
|
||||||
|
you'll need to *temporarily* disable the default security settings as follows:
|
||||||
|
|
||||||
|
- Turn on or restart your Mac, then press and hold `COMMAND + R` immediately after seeing the Apple
|
||||||
|
logo.
|
||||||
|
- Select Utilities → Startup Security Utility from the main menu.
|
||||||
|
- Click "Turn Off Firmware Password".
|
||||||
|
- Select "Secure Boot: No Security".
|
||||||
|
- Select "External Boot: Allow booting from external media".
|
||||||
|
- Quit the utility and restart the machine.
|
||||||
|
|
||||||
|
You'll now be able to boot your system with the Boot Disk (see above).
|
||||||
|
|
||||||
|
After the new operating system has been installed via the Boot Disk, *ensure you return to the
|
||||||
|
Startup Security Utility and re-enable the following settings*:
|
||||||
|
|
||||||
|
- Click "Turn On Firmware Password".
|
||||||
|
- Select "Secure Boot: Full Security".
|
||||||
|
- Select "External Boot: Disallow booting from external or removable media".
|
||||||
|
|
||||||
### Customization
|
### Customization
|
||||||
|
|
||||||
All executable scripts can be found in the `bin` folder:
|
All executable scripts can be found in the `bin` folder:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export -f clean_work_path
|
|||||||
|
|
||||||
# Caffeinate machine.
|
# Caffeinate machine.
|
||||||
caffeinate_machine() {
|
caffeinate_machine() {
|
||||||
local pid=$(ps aux | grep caffeinate | grep -v grep | awk '{print $2}')
|
local pid=$(pgrep -x caffeinate)
|
||||||
|
|
||||||
if [[ -n "$pid" ]]; then
|
if [[ -n "$pid" ]]; then
|
||||||
printf "Whoa, tweaker, machine is already caffeinated!\n"
|
printf "Whoa, tweaker, machine is already caffeinated!\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user