While rebuilding I prefer as much verbose automation as possible.
2014-10-29 This gist is too big, see https://github.com/NoteHub/osx
Read this document through and fork/use the good parts to your preferences.
| #!/bin/bash | |
| # Use with care ... | |
| # ----------------------------------------- | |
| # Mountain Lion, Mavericks, Yosemite .. | |
| OS="El Capitan" | |
| IMG_SIZE=8g | |
| BUILD_MNT=/tmp/"$OS"_Build | |
| INSTALL_MNT=/tmp/"$OS"_Install |
| #!/usr/bin/env bash | |
| # stop if an error occurs or undefined variable. | |
| set -eu | |
| # Make sure using latest Homebrew | |
| brew update | |
| # Update already-installed formula (takes too much time, I will do it manually later) | |
| # upgrade |
While rebuilding I prefer as much verbose automation as possible.
2014-10-29 This gist is too big, see https://github.com/NoteHub/osx
Read this document through and fork/use the good parts to your preferences.