Skip to content

Conversation

@craigcomstock
Copy link
Contributor

tar -xf is not complete enough on OpenBSD so add -z: tar -xzf

Ticket: ENT-13565
Changelog: title

tar -xf is not complete enough on OpenBSD so add -z: tar -xzf

Ticket: ENT-13565
Changelog: title
if archive_type.startswith(_SUPPORTED_TAR_TYPES):
if shutil.which("tar"):
sh("cd %s; tar -xf %s" % (content_dir, archive_path))
sh("cd %s; tar -xzf %s" % (content_dir, archive_path))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

checked on debian with gnu tar and seems to work fine.

@craigcomstock craigcomstock merged commit 28886fe into cfengine:master Dec 5, 2025
11 checks passed
@craigcomstock craigcomstock deleted the ent-13565 branch December 5, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants