Skip to content

Commit

Permalink
Add rakkess to linux/arm64 in Debian (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Mar 6, 2024
1 parent 6c40940 commit 33ffee1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages-amd64-only.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ awless@cloudposse
cfssl@cloudposse
emailcli@cloudposse
goofys@cloudposse
rakkess@cloudposse
# We specially custom built and packaged rakkess v0.5.1 for linux/arm64 to support EKS access entry validation
# rakkess@cloudposse
tfenv@cloudposse
tfmask@cloudposse
3 changes: 2 additions & 1 deletion packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ pandoc@cloudposse
postgresql-client
pwgen
python3
# no arm64 rakkess@cloudposse
# We specially custom built and packaged rakkess v0.5.1 for linux/arm64 to support EKS access entry validation 2024-03-06
rakkess@cloudposse
rbac-lookup@cloudposse
retry@cloudposse
# abandoned 2021-03-08 scenery@cloudposse
Expand Down
12 changes: 12 additions & 0 deletions rootfs/usr/local/bin/no-arm64-support
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
#!/bin/bash

# If someone manages to install the real file on the system,
# then redirect the link that is causing this script to run
# and execute the real file. We do not remove it because that
# causes problems with command hashing.
if [ -x /usr/bin/$(basename "$0") ]; then
if [ -L "$0" ]; then
rm -f "$0"
ln -s /usr/bin/$(basename "$0") "$0"
fi
exec /usr/bin/$(basename "$0") "$@"
fi

printf "$(tput setaf 1)%s is not supported on this platform (arm64)$(tput setaf 0)\n" "$(basename "$0")" >&2
exit 1

0 comments on commit 33ffee1

Please sign in to comment.