Skip to content

Disable zstd decompression support with libmagic

Stan Hu requested to merge sh-fix-issue-7672 into master

What does this MR do?

ruby-magic updated to libmagic v5.44, which added support for zstd decompression support. Unlike most of our other builders, it appears that AmazonLinux 2022 needs libzstd to support dnf.

With ruby-magic v0.6.0 in gitlab!114641 (merged), we can use the --with-magic-flags to disable this functionality outright since this system dependency may not be safe to use.

Related issues

Relates to #7672 (closed)

Testing

See pipeline in https://dev.gitlab.org/gitlab/omnibus-gitlab/-/pipelines/275973

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • Pipeline is green on dev.gitlab.org if the change is touching anything besides documentation or internal cookbooks
  • trigger-package has a green pipeline running against latest commit

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for the GitLab Chart opened
Edited by Stan Hu

Merge request reports