File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ job "buildbot-worker" {
7272
7373 config {
7474 image = " ghcr.io/void-linux/infra-buildbot-builder:20240928R1"
75+ volumes = [ " local/xbps-repos.conf:/usr/share/xbps.d/00-repository-main.conf" ]
7576 cap_add = [" sys_admin" ]
7677 }
7778
130131 destination = " local/info/host"
131132 }
132133
134+ template {
135+ data = << EOF
136+ repository=/hostdir/binpkgs/bootstrap
137+ repository=/hostdir/binpkgs
138+ repository=/hostdir/binpkgs/nonfree
139+ {{ if eq "${ group . value . name } " "glibc" }}
140+ repository=/hostdir/binpkgs/multilib/bootstrap
141+ repository=/hostdir/binpkgs/multilib
142+ repository=/hostdir/binpkgs/multilib/nonfree
143+ {{ end }}
144+ EOF
145+ destination = " local/xbps-repos.conf"
146+ }
147+
133148 template {
134149 data = << EOF
135150{{- with nomadVar "nomad/jobs/buildbot-worker" -}}
Original file line number Diff line number Diff line change @@ -164,7 +164,8 @@ def make_xbps_bulk_cmd(props):
164164 if props .getProperty ('cross' ) == 'True' :
165165 command += ['-a' , props .getProperty ('target' )]
166166 else :
167- command += ['-a' , 'native-' , props .getProperty ('host' )]
167+ command += ['-a' , 'native-' + props .getProperty ('host' )]
168+ command += ['--' ]
168169
169170 return command
170171
You can’t perform that action at this time.
0 commit comments