File tree 2 files changed +21
-11
lines changed
2 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 1
1
### Go builder settings
2
2
ntpdate=YES
3
- builder_name=netbsd-arm64 -bsiegert
3
+ builder_name=netbsd-arm -bsiegert
4
4
newfs_scratch=YES
5
5
scratch_disk=NAME=scratch
6
- scratch_dir=/scratch
6
+ scratch_dir=/home/swarming/.swarming
7
+ svscan=YES
8
+ svscan_datalimit=unlimited
9
+ svscan_servicedir=/service
10
+ svscan_log=NO
11
+ estd=YES
12
+ estd_flags="-a -l 20 -h 25"
13
+ node_exporter=YES
7
14
### end Go builder settings
Original file line number Diff line number Diff line change @@ -43,6 +43,14 @@ install_go_bin() {
43
43
44
44
# ##############################
45
45
46
+ echo " ==> Installing useful packages." >&2
47
+ if [ -x /usr/pkg/bin/pkgin ]; then
48
+ pkgin -y install emacs-nox11 watch estd screen sysupgrade bash go123 w3m vim llvm git-base htop sudo mosh pkg_alternatives clang daemontools daemontools-run node_exporter
49
+ else
50
+ echo " pkgin not found, please install packages manually" >&2
51
+ fi
52
+
53
+
46
54
make_dir /usr/local/bin
47
55
make_dir /usr/local/sbin
48
56
62
70
pax -rw -pp service /
63
71
fi
64
72
65
- if grep -q svscanboot /etc/rc.local; then
66
- echo " ==> /etc/rc.local already contains daemontools initialization." >&2
67
- else
68
- echo " ==> Starting daemontools at boot (/etc/rc.conf)." >&2
69
- echo " d\nwq" | ed /etc/rc.local
70
- cat rcd/rc.local >> /etc/rc.local
71
- echo
72
- tail /etc/rc.local
73
- fi
73
+ copy_file /usr/pkg/share/examples/rc.d/svscan /etc/rc.d
74
+ copy_file /usr/pkg/share/examples/rc.d/node_exporter /etc/rc.d
75
+ chmod 555 /etc/rc.d/svscan
76
+ chmod 555 /etc/rc.d/node_exporter
74
77
75
78
copy_file rcd/newfs_scratch /etc/rc.d
76
79
chmod 555 /etc/rc.d/newfs_scratch
You can’t perform that action at this time.
0 commit comments