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

Add option to limit architectures for offline installs. #17604

Merged
merged 3 commits into from
May 7, 2024

Conversation

Ferroin
Copy link
Member

@Ferroin Ferroin commented May 6, 2024

Summary

Default behavior will still be to download all supported architectures (because there will be users who do not pay attention to matching architectures between the system used to prepare the installl source and the system where they are actually installing), but this will allow those who know what they’re doing to just prepare things for a specific target system.

The new option is called --offline-architecture. It can be specified multiple times (in which case it will result in the full set of architectures being used), and will throw a fatal error if an unrecognized value is passed.

Test Plan

Requires manual local testing of the --prepare-offline-install-source option with and without the new option.

Default behavior will still be to download all supported architectures
(because there _will_ be stupid users who do not pay attention to
matching architectures between the system used to prepare the installl
source and the system where they are actually installing), but this will
allow those who know what they’re doing to just prepare things for a
specific target system.
@Ferroin Ferroin marked this pull request as ready for review May 6, 2024 15:31
@Ferroin Ferroin requested a review from a team as a code owner May 6, 2024 15:31
@Ferroin Ferroin requested a review from a team May 6, 2024 15:31
@github-actions github-actions bot added the area/packaging Packaging and operating systems support label May 6, 2024
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
@ilyam8 ilyam8 merged commit 8719db2 into netdata:master May 7, 2024
149 of 151 checks passed
@Ferroin Ferroin deleted the offline-arches branch May 8, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/packaging Packaging and operating systems support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants