profile: Skeletal plumbing to support internal "prepare" stage
We'll be using the prepare stage to run a script that makes the
sources available to the build. This also ensures logging is done
properly by running the commands inside of the build process.
Signed-off-by: Ikey Doherty <email@example.com>