| non port: Tools/portbuild/scripts/cleanup-chroots |
Number of commits found: 12 |
|
Sunday, 24 Apr 2011
|
16:37 flz
Remove portbuild scripts from pcvs, as they now live in svn/projects.
 |
|
Friday, 25 Jun 2010
|
22:49 linimon
Generalize the packge building scripts to be able to be run on more than
one 'head' node, rather than just pointyhat itself.
Constants are factored out into installation-specific files known as
portbuild/conf/server.conf and portbuild/conf/client.conf. There is
only one server.conf file. Individual <arch> directories may have
their own client.conf files, or may symlink to ../conf/client.conf.
This first set of files only gets the *.conf files and some cleanup.
Feature safe: yes
 |
|
Monday, 16 Nov 2009
|
00:16 linimon
Harden these a bit: make them identify on which host they were running;
skip unncessary steps.
 |
|
Saturday, 26 Jul 2008
|
14:12 kris
* Cleanup
* Catch up to build ID directory changes
* Remove need for /etc/arch file
 |
|
Friday, 11 Apr 2008
|
11:32 pav
Include per-machine configuration and respect use_zfs flag
 |
|
Sunday, 29 Jul 2007
|
20:27 kris
Support builds using zfs and tmpfs backing store
zfs:
* Enabled by use_zfs=1 in portbuild.conf
* Populate build chroots by cloning a zfs snapshot instead of maintaining
many duplicate copies. In principle this is very efficient since
everything is copy-on-write and zfs snapshot creation is almost
instantaneous. There might be additional overheads from building on zfs
though. Currently the snapshot base is hard-wired to y/${branch}@base
but should be parametrized. This also must be populated beforehand, e.g.
during machine startup
* Clean build chroots by just destroying the snapshot.
tmpfs:
* Enabled by use_tmpfs=1 and tmpfs_size in portbuild.conf
* The previous md strategy of mounting in used/, populating and then
remounting (to avoid possible races from multiple builds claiming the
same chroot) doesn't work here because tmpfs instances are destroyed at
umount. I am not entirely sure the simpler approach is free from races.
 |
|
Sunday, 18 Feb 2007
|
08:53 kris
Increase cleanup timeout to 5 days from 48 hours, the openoffice builds
now regularly take longer than this :(
 |
|
Sunday, 22 Jan 2006
|
04:55 kris
Also clean up linprocfs mounts
 |
|
Tuesday, 11 Oct 2005
|
03:53 kris
Add support for use_md_swap
 |
|
Saturday, 12 Feb 2005
|
03:38 kris
Instead of using umount -f to unmount things, first use fstat to look for
processes holding open references within the FS and kill them, then use
regular umount. This is necessary now that devfs cannot be force-unmounted,
and has the benefit that processes can't hang around holding references to
files between port builds.
 |
|
Wednesday, 14 Jul 2004
|
10:42 kris
Bump up the cleanup timeout to directories that have been in use for
>48 hours, to cope with monster ports like openoffice and atlas.
 |
|
Monday, 8 Mar 2004
|
01:56 kris
To be run on the client, this script looks for chroot directories that have not
been
used in 20 minutes, as well as directories listed as 'in use' that have not been
touched
in 24 hours (corresponding to port builds that have timed out or shut down
uncleanly)
and prunes them to reclaim space. This is intended to be run as a cron job.
 |
Number of commits found: 12 |