Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bash API-download script downloading ARM packages on non-ARM hosts #186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joekohlsdorf
Copy link

On Ubuntu 18/20 x86_64 the script tried to install the ARM64 package which was the first in the list with the "os_version": "18/20 - arm64".

This change makes the installer compatible with both ARM and non-ARM packages.

On Ubuntu 18/20 x86_64 the script tried to install the ARM64 package which was the first in the list with the "os_version": "18/20 - arm64"
@joekohlsdorf
Copy link
Author

By the way, the installers API should
a) return the architecture in a separate field
b) have a filter for the architecture

The current way of doing this is a terrible hack.

@redhatrises
Copy link
Contributor

@joekohlsdorf would you mind adding this to the https://github.com/CrowdStrike/falcon-scripts/blob/main/bash/install/falcon-linux-install.sh script which has a lot more functionality? We'd like to deprecate this script in favor of the new one.

@joekohlsdorf joekohlsdorf changed the title fi bash API-download script downloading ARM packages on non-ARM hosts fix bash API-download script downloading ARM packages on non-ARM hosts Aug 25, 2022
@joekohlsdorf
Copy link
Author

joekohlsdorf commented Aug 25, 2022

I won't add it to the other script because I'm not using it and I don't have any experience using it.
But feel free to incorporate the ideas/code of the PRs I proposed into the new script, it looks like it has the same issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants