Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2011 13:51:33 +0100
From:      Chris Rees <crees@freebsd.org>
To:        Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Cc:        FreeBSD Ports Mailing List <ports@freebsd.org>
Subject:   Re: tinderbox: how to drop unneded Jail and Build
Message-ID:  <CADLo838_Q40vJpbmHNiLqPHbPGUX%2BF9cwHon7h=G2PHzpvpzJg@mail.gmail.com>
In-Reply-To: <4E5643A8.9060705@yandex.ru>
References:  <4E5643A8.9060705@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 August 2011 13:44, Ruslan Mahmatkhanov <cvs-src@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 director=
y
> =9A${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@marcuscom.com too ;)

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838_Q40vJpbmHNiLqPHbPGUX%2BF9cwHon7h=G2PHzpvpzJg>