tinderbox: how to drop unneded Jail and Build

Chris Rees crees at freebsd.org
Fri Aug 26 10:40:06 UTC 2011


On 26 August 2011 07:51, Ruslan Mahmatkhanov <cvs-src at yandex.ru> wrote:
> Chris Rees wrote on 25.08.2011 19:52:
>>
>> On 25 August 2011 14:27, Ruslan Mahmatkhanov<cvs-src at yandex.ru>  wrote:
>>>
>>> Chris Rees wrote on 25.08.2011 16:51:
>>>>
>>>> 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
>>>
>>> Nice, thank you. I believe that this should be added to the Tinderbox
>>> Manual. And what about creating 9.0-BETA1 jail with -u LFTP question?
>>>
>>
>> I've added it to the README, thanks for the suggestion [1].
>
> Cool, thanks. When it will be updated on
> http://tinderbox.marcuscom.com/README/README.html? Some time ago i have done
> Russian translation of this page and want to keep it up to date. May i grab
> docbook sources for
> this page somewhere?
>

http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/tinderweb/dbsrc/

Watch out, there be dragons :(

I formatted it really badly when I first wrote it, but I'm redoing the
indentation etc on it to make it look like FreeBSD-doc style --
anything recently touched should be fine.

Chris


More information about the freebsd-ports mailing list