-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RPM errors introduced in new pipeline (#1673)
Fix issues that came up during betanet release - RPM/arch issue when installing yum - Missing genesisfiles for tarballs - missing algorand-devtools-beta package
- Loading branch information
1 parent
3ae2f78
commit 08171f6
Showing
4 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Take common name (amd64, arm64, arm) and map to the unames (x86_64, aarch64) | ||
|
||
COMMON_NAME="${1}" | ||
|
||
if [ "amd64" == "${COMMON_NAME}" ]; then | ||
echo "x86_64" | ||
elif [ "arm64" == "${COMMON_NAME}" ]; then | ||
echo "aarch64" | ||
elif [ "arm32" == "${COMMON_NAME}" ]; then | ||
echo "armv7l" | ||
elif [ "arm" == "${COMMON_NAME}" ]; then | ||
echo "armv7l" | ||
else | ||
echo "Unsupported cpu arch ${COMMON_NAME}" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters