Look at common bootstrapping problems and brainstorm ways to handle them
The following lists a few techniques that have come up. These are not mutually exclusive:
- Create permanent copies of packages that contain modifications required for an intermediate bootstrapping step,
- Provide a way to specify bootstrapping stages, and deviations from the standard build process for each stage
- Provide a way to set environment variables in certain bootstrapping stages
- Model bootstrap stages using build iterations. This requires the ability to use build artifacts from previous iterations as inputs
- Provide a way to arbitrarily modify PKGBUILDS in bootstrapping stages using some sort of patching / scripting process