Skip to content

Commit

Permalink
Merge pull request #1438 from paketo-buildpacks/arch-fixes
Browse files Browse the repository at this point in the history
Fixes two minor issues with the multi-arch support
  • Loading branch information
dmikusa authored Jan 19, 2024
2 parents 81c0905 + 38c2f85 commit 574133b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions actions/bellsoft-liberica-dependency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ func main() {
arch = "x86"
}

if arch == "arm64" {
arch = "arm" // cause Bellsoft needs it without the bitness
}

commonStaticParams := "&version-modifier=latest"
uriStaticParams := fmt.Sprintf("?arch=%s", arch) +
"&bitness=64" +
Expand Down
2 changes: 1 addition & 1 deletion octo/statik/statik.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions octo/update-buildpack-dependency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ OLD_VERSION=$(yj -tj < buildpack.toml | \
update-buildpack-dependency \
--buildpack-toml buildpack.toml \
--id "${ID}" \
--arch "${ARCH}" \
--version-pattern "${VERSION_PATTERN}" \
--version "${VERSION}" \
--cpe-pattern "${CPE_PATTERN:-}" \
Expand Down

0 comments on commit 574133b

Please sign in to comment.