Skip to content

prefer bsdtar for unpacking ISO files, keep 7z as fallback - #5213

Merged
boegel merged 10 commits into
easybuilders:developfrom
Micket:bsdtar
Jul 29, 2026
Merged

prefer bsdtar for unpacking ISO files, keep 7z as fallback#5213
boegel merged 10 commits into
easybuilders:developfrom
Micket:bsdtar

Conversation

@Micket

@Micket Micket commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Fixes #5212

@akesandgren

Copy link
Copy Markdown
Contributor

bsdtar is available on Ubuntu in the libarchive-tools package

Comment thread easybuild/tools/filetools.py Outdated
@boegel boegel added this to the next release (5.3.2?) milestone Jul 1, 2026
@boegel

boegel commented Jul 1, 2026

Copy link
Copy Markdown
Member

@Micket For the tests, it would be nice if we could enhance test_extract_cmd to verify that the fallback to 7z does not happen when there's a fake bsdtar command available.

For inspiration, see the fake eb command we inject in test_find_eb_script

@Micket

Micket commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

I'd squash this merge to avoid all my fumbling attempts to pass CI

@boegel boegel changed the title Switch to bsdtar for iso files, 7z as fallback prefer bsdtar for unpacking ISO files, keep 7z as fallback Jul 29, 2026

@boegel boegel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@boegel
boegel merged commit 0978300 into easybuilders:develop Jul 29, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allowing bsdtar as alternative for extracting iso files

3 participants