Merge pull request #1867 from saltstack/fixing_debian_arm64_repo_arch

Ensure the REPO_ARCH for Arm64 is correct.
This commit is contained in:
Gareth J. Greenaway 2022-09-30 12:36:11 -07:00 committed by GitHub
commit 827abf199a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1439,8 +1439,8 @@ __check_dpkg_architecture() {
warn_msg="Support for arm64 is experimental, make sure the custom repository used has the expected structure and contents."
else
# Saltstack official repository does not yet have arm64 metadata,
# use amd64 repositories on arm64, since all pkgs are arch-independent
__REPO_ARCH="amd64"
# use arm64 repositories on arm64, since all pkgs are arch-independent
__REPO_ARCH="arm64"
__REPO_ARCH_DEB="deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=$__REPO_ARCH]"
warn_msg="Support for arm64 packages is experimental and might rely on architecture-independent packages from the amd64 repository."
fi