@@ -130,37 +130,24 @@ get_board_profile() {
130
130
done
131
131
}
132
132
133
- # Usage: get_board_binhost [-t] board [version...]
134
- # -t: toolchain only, full rebuilds re-using toolchain pkgs
133
+ # Usage: get_board_binhost board [version...]
135
134
# If no versions are specified the current and SDK versions are used.
136
135
get_board_binhost () {
137
- local toolchain_only=0 board ver
138
- if [[ " $1 " == " -t" ]]; then
139
- toolchain_only=1
140
- shift
141
- fi
136
+ local board ver
142
137
board=" $1 "
143
138
shift
144
139
145
- local pkgs_include_toolchain=0
146
140
if [[ $# -eq 0 ]]; then
147
141
if [[ " ${FLATCAR_BUILD_ID} " =~ ^nightly-.* $ ]] ; then
148
142
# containerised nightly build; this uses [VERSION]-[BUILD_ID] for binpkg url
149
- # and toolchain packages are at the same location as OS image ones
150
143
set -- " ${FLATCAR_VERSION_ID} +${FLATCAR_BUILD_ID} "
151
- pkgs_include_toolchain=1
152
144
else
153
145
set -- " ${FLATCAR_VERSION_ID} "
154
146
fi
155
147
fi
156
148
157
149
for ver in " $@ " ; do
158
- if [[ $toolchain_only -eq 0 ]]; then
159
- echo " ${FLATCAR_DEV_BUILDS} /boards/${board} /${ver} /pkgs/"
160
- fi
161
- if [[ $pkgs_include_toolchain -eq 0 ]]; then
162
- echo " ${FLATCAR_DEV_BUILDS} /boards/${board} /${ver} /toolchain/"
163
- fi
150
+ echo " ${FLATCAR_DEV_BUILDS} /boards/${board} /${ver} /pkgs/"
164
151
done
165
152
}
166
153
@@ -196,13 +183,9 @@ get_sdk_binhost() {
196
183
FLATCAR_DEV_BUILDS_SDK=" ${FLATCAR_DEV_BUILDS_SDK-${SETTING_BINPKG_SERVER_PROD} / sdk} "
197
184
fi
198
185
for ver in " $@ " ; do
199
- # Usually only crossdev needs to be fetched from /toolchain/ in the setup_board step.
200
186
# The entry for /pkgs/ is there if something needs to be reinstalled in the SDK
201
187
# but normally it is not needed because everything is already part of the tarball.
202
- # To install the crossdev Rust package, /toolchain-arm64/ is derived from /toolchain/
203
- # when necessary in install_cross_toolchain().
204
188
if curl -Ifs -o /dev/null " ${FLATCAR_DEV_BUILDS_SDK} /${arch} /${ver} /pkgs/" ; then
205
- echo " ${FLATCAR_DEV_BUILDS_SDK} /${arch} /${ver} /toolchain/"
206
189
echo " ${FLATCAR_DEV_BUILDS_SDK} /${arch} /${ver} /pkgs/"
207
190
fi
208
191
done
0 commit comments