This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
allow custom rc-imaging scripts and show all disks for 10.13 #192
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR makes it where Disk Utility will show the disks vs the Volumes, allowing an Imagr user to easily format a disk from APFS to HFS and vice versa. The default UI of Disk Utility hides this feature.
This PR also allows an admin to setup a custom rc.imaging script to do any number of things.
Simply add
STARTTERMINAL=Custom
to your config.mk file and make acustom
file, places in the rc-imaging folder.Previous Behavior
Previously the makefile used
printf
to generate the rc.imaging file and did not setup Disk Utility properly for 10.13New Behavior
The makefile now calls out to the
rc-imaging
folder for these scripts, allowing an admin to easily write a script to do any number of custom things.The admin should add a file called
custom
in the rc-imaging folder. A gitignore has also been setup for this file.Example script: