Script to automatically prepare a functional chroot jail with the following utilities:
Utility | Priority | Type | Depends |
---|---|---|---|
bash | Required | Self-compiled | none |
coreutils | Required | Self-compiled | none |
inetutils | Required* | Self-compiled | none |
grep | Extra | Self-compiled | none |
less | Extra | Self-compiled | none |
make | Extra | Self-compiled | none |
nano | Extra | Self-compiled | none |
gzip | Extra | Self-compiled | none |
zsh | Extra | Self-compiled | none |
tar | Extra | Self-compiled | none |
binutils | Extra | Self-compiled | none |
xz-utils | Extra | Self-compiled | none |
bzip2 | Extra | Pre-compiled | none |
bashpm | Not recommended, not maintained | Bash Script | curl, xz-utils, tar, grep |
curl (no SSL support) | Recommended | Pre-compiled | CoreFoundation** |
*: The script will continue even if this utility isn't compiled properly
**: A preinstalled framework in macOS, copied by the script inside the jail.
Tested on: macOS High Sierra (10.13.6), macOS Mojave (10.14)