tinderbox: how to drop unneded Jail and Build

Chris Rees crees at freebsd.org
Thu Aug 25 12:52:04 UTC 2011


On 25 August 2011 13:44, Ruslan Mahmatkhanov <cvs-src at yandex.ru> wrote:
>
> How to correctly remove Jail and Build, created by ./tc createJail and ./tc
> createBuild accordingly? I have 7.3-FreeBSD, that was needed to one-time
> test single port. As far i understand, it's not enough to remove directory
>  ${pb}/7.3-FreeBSD, since there is logs/packages/build
> etc for this build and database records also. How to deal with this
> correctly?

cd ${pb}/scripts && ./tc rmBuild -b ${build} && ./tc rmJail -j ${jail}

rm -r ${pb}/*/${jail_name} ${pb}/*/${build_name} ${pb}/${build_name}

PLEASE check the globbing using echo first....

You may want to join tinderbox-list at marcuscom.com too ;)

Chris


More information about the freebsd-ports mailing list