Skip to content

Commit

Permalink
fix typo for linux buildarch (#175)
Browse files Browse the repository at this point in the history
*Issue #, if available:*

*Description of changes:*
Was set to x86 before and failed to build so changing it to amd64 for it
to work.

https://docs.docker.com/build/building/multi-platform/#why-multi-platform-builds

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

Co-authored-by: Michael Fu <[email protected]>
  • Loading branch information
michaelfu1029 and Michael Fu authored Nov 15, 2024
1 parent 6ae4965 commit ffe84b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "$BUILDARCH" == "arm64" ]; then
MARIADB_RPM_COMMON_CHECKSUM="$MARIADB_RPM_COMMON_ARM_CHECKSUM"
MARIADB_RPM_DEVEL_CHECKSUM="$MARIADB_RPM_DEVEL_ARM_CHECKSUM"
MARIADB_RPM_SHARED_CHECKSUM="$MARIADB_RPM_SHARED_ARM_CHECKSUM"
elif [ "$BUILDARCH" == "x86_64" ]; then
elif [ "$BUILDARCH" == "amd64" ]; then
MARIADB_DOWNLOAD_FULL_BASE_URL="${MARIADB_DOWNLOAD_BASE_URL}${MARIADB_DOWLOAD_URL_X86_SUFFIX}"
MARIADB_RPM_COMMON="$MARIADB_RPM_COMMON_PREFIX$MARIADB_X86_SUFFIX"
MARIADB_RPM_DEVEL="$MARIADB_RPM_DEVEL_PREFIX$MARIADB_X86_SUFFIX"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ "$BUILDARCH" == "arm64" ]; then
MARIADB_RPM_COMMON_CHECKSUM="$MARIADB_RPM_COMMON_ARM_CHECKSUM"
MARIADB_RPM_DEVEL_CHECKSUM="$MARIADB_RPM_DEVEL_ARM_CHECKSUM"
MARIADB_RPM_SHARED_CHECKSUM="$MARIADB_RPM_SHARED_ARM_CHECKSUM"
elif [ "$BUILDARCH" == "x86_64" ]; then
elif [ "$BUILDARCH" == "amd64" ]; then
MARIADB_DOWNLOAD_FULL_BASE_URL="${MARIADB_DOWNLOAD_BASE_URL}${MARIADB_DOWLOAD_URL_X86_SUFFIX}"
MARIADB_RPM_COMMON="$MARIADB_RPM_COMMON_PREFIX$MARIADB_X86_SUFFIX"
MARIADB_RPM_DEVEL="$MARIADB_RPM_DEVEL_PREFIX$MARIADB_X86_SUFFIX"
Expand Down

0 comments on commit ffe84b4

Please sign in to comment.