A framework for building boot environments