Skip to content

Commit

Permalink
Merge pull request #1981 from twangboy/fix_1980
Browse files Browse the repository at this point in the history
Add arm support for Debian 10
  • Loading branch information
twangboy authored Jan 4, 2024
2 parents c32e0b2 + cb148ad commit 928daba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1522,9 +1522,9 @@ __check_dpkg_architecture() {
if [ "$_CUSTOM_REPO_URL" != "null" ]; then
warn_msg="Support for arm64 is experimental, make sure the custom repository used has the expected structure and contents."
else
# Saltstack official repository has arm64 metadata beginning with Debian 11,
# Saltstack official repository has arm64 metadata beginning with Debian 10,
# use amd64 repositories on arm64 for anything older, since all pkgs are arch-independent
if [ "$DISTRO_NAME_L" = "debian" ] && [ "$DISTRO_MAJOR_VERSION" -lt 11 ]; then
if [ "$DISTRO_NAME_L" = "debian" ] && [ "$DISTRO_MAJOR_VERSION" -lt 10 ]; then
__REPO_ARCH="amd64"
else
__REPO_ARCH="arm64"
Expand Down

0 comments on commit 928daba

Please sign in to comment.