Skip to content

Commit 6f27580

Browse files
authored
fix: Revert "fix: log unsupported error and exit on arm64 and focal (#5718)" (#5783)
fix: Revert "fix: log unsupported error and exit on `arm64` and `focal` (#5718)" This reverts commit aba09ef.
1 parent cb0782b commit 6f27580

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ jobs:
250250
fail-fast: false
251251
matrix:
252252
distro:
253+
- focal
253254
- jammy
254255

255256
env:

src/usr/local/containerbase/util.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,7 @@ function require_arch () {
148148

149149
function require_distro () {
150150
case "$DISTRO_CODENAME" in
151-
"focal") #supported (only amd64)
152-
if [[ "$ARCHITECTURE" != "x86_64" ]]; then
153-
echo "Distro 'focal' only supported on 'x86_64' arch!" >&2
154-
exit 1
155-
fi
156-
;;
151+
"focal") ;; #supported
157152
"jammy") ;; #supported
158153
"noble") ;; #supported
159154
*)

0 commit comments

Comments
 (0)