Move function definitions out of os-base into a separate os-base-functions.sh file.
Try to clean out staging area before doing an installworld to it.