routines to build the salt-thin deployment