-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support Ubuntu 22.04 #381
Support Ubuntu 22.04 #381
Conversation
1085621
to
dea2005
Compare
|
# use ruby 3.x because distribution switches to OpenSSL 3.x. | ||
return false unless File.exist?("/etc/os-release") | ||
os_release_entries = File.open("/etc/os-release").readlines.map(&:strip) | ||
os_release_entries.include?("UBUNTU_CODENAME=jammy") and os_release_entries.include?("ID=ubuntu") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: This is not required but also CentOS Stream 9 (and RockyLinux 9) will be needed to switch using Ruby 3.1.
This is just for your information but we will need to handle this Ruby 3.1 switching in the future.
FYI: aptly cannot handle Zstandard compressed control.tar.zst and data.tar.zst within debian package, now. This should be affected for Ubuntu Jammy (22.04) packages. |
Thanks, as you pointed out, aptly 1.4.0+ds1-6 doesn't support it.
|
Signed-off-by: Kentaro Hayashi <[email protected]>
Signed-off-by: Kentaro Hayashi <[email protected]>
revert 6166b7c Signed-off-by: Kentaro Hayashi <[email protected]>
Signed-off-by: Kentaro Hayashi <[email protected]>
As a workaround, we can use xz as default package compression again.
|
Aptly 1.4.0 can't handle zstd compression yet, (supported in master, but not shipped), as a workaround, specify compression algorithm explicitly. Signed-off-by: Kentaro Hayashi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks! |
This draft PR is derived from fluent/fluentd#3704 and push a commit on #378
to attempt to identify Ubuntu 22.04 buildability. (not ready for production)
KNOWN ISSUE: dh_shlibdeps causes an error.