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. NOTE: these scripts are not yet parameterized, so this is WIP. Feature safe: yes
This commit is contained in:
parent
90089c9f17
commit
2ca917890d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257000
2 changed files with 8 additions and 4 deletions
|
@ -8,15 +8,18 @@ import zfs, commands, datetime, sys, os, bz2
|
|||
from signal import *
|
||||
|
||||
# List of filesystems to backup
|
||||
# XXX MCL
|
||||
backuplist=["a", "a/nfs", "a/local", "a/portbuild",
|
||||
"a/portbuild/amd64", "a/portbuild/i386",
|
||||
"a/portbuild/ia64", "a/portbuild/powerprc",
|
||||
"a/portbuild/sparc64"]
|
||||
|
||||
# Directory to store backups
|
||||
# XXX MCL
|
||||
backupdir="/dumpster/pointyhat/backup"
|
||||
|
||||
# How many days between full backups
|
||||
# XXX MCL
|
||||
fullinterval=9
|
||||
|
||||
def validate():
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
import zfs, commands, datetime, os
|
||||
|
||||
# List of filesystems to expire
|
||||
# XXX MCL
|
||||
expirelist=(("a", 14),
|
||||
("a/nfs", 14),
|
||||
("a/local", 14),
|
||||
|
@ -16,10 +17,10 @@ expirelist=(("a", 14),
|
|||
("a/portbuild/sparc64", 14),
|
||||
("a/snap", 7),
|
||||
("a/snap/ports", 7),
|
||||
("a/snap/src-6", 7),
|
||||
("a/snap/src-7", 7),
|
||||
("a/snap/src-8", 7),
|
||||
("a/snap/src-9", 7),
|
||||
("a/snap/src-6/src", 7),
|
||||
("a/snap/src-7/src", 7),
|
||||
("a/snap/src-8/src", 7),
|
||||
("a/snap/src-9/src", 7),
|
||||
("a/snap/world-amd64-HEAD", 7),
|
||||
("a/snap/world-i386-HEAD", 7))
|
||||
|
||||
|
|
Loading…
Reference in a new issue