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

Use GZIP 6 RPM Compression To Fix Install On AL2 Without Kernel Patch #889

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packaging/linux/amazon-cloudwatch-agent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Source: amazon-cloudwatch-agent.tar.gz

%define _enable_debug_packages 0
%define debug_package %{nil}
%define _source_payload w6.gzdio
%define _binary_payload w6.gzdio
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overview still says gzip 0.

After evaluating xz compression and gzip compression with different compression levels we are choosing level 6 (which is the default)

Current binary size is X compared to before it was Y.
Current install time is X compared to before it was Y.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


%prep
%setup -c %{name}-%{version}
Expand Down