This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Resize the image (qemu machine must be powered off) | |
| ``` | |
| ~/cheri/output/sdk/bin/qemu-img resize --shrink ~/cheri/output/cheribsd-morello-purecap.img +2G | |
| ``` | |
| 2. Power On `./cheribuild.py run-morello-purecap | |
| 3. `gpart show <vtbd0>` | |
| 4. `gpart recover vtbd0` | |
| 5. `gpart show vtbd0` and notice the freespace available and partition number subject to being expandable | |
| 6. `gpart resize -i <partition No> -s <size> vtbd0` | |
| 7. `init 1` login in a single user mode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # | |
| # build_forall.sh | |
| # | |
| # A script that helps you build every opensource xnu from Yosemite to Mojave. | |
| # | |
| # Note: This process will OVERWRITE files in Xcode's MacOSX10.13.sdk. Make a backup of this directory first | |
| # Note: Make sure to install correct version of Xcode(not Xcode command line tool!) or it'll not work | |
| # |