Skip to content

Conversation

@Acedus
Copy link

@Acedus Acedus commented Dec 25, 2025

Currently, users must rely on pkg_tar to compress the archive generated by rpmtree. However, the unpacking and repacking process in pkg_tar can introduce duplicate file entires, which causes failures in downstream consumers like rules_oci.

This PR adds a --compression flag to rpmtree, allowing it to output compressed archives (e.g., gzip) directly, bypassing the need for an intermediate pkg_tar step.

Currently, users must rely on pkg_tar to compress the archive generated
by rpmtree. However, the unpacking and repacking process in pkg_tar can
introduce duplicate file entires, which causes failures in downstream
consumers like rules_oci.

This commit adds a --compression flag to rpmtree, allowing it to output
compressed archives (e.g., gzip) directly, bypassing the need for an
intermediate pkg_tar step.

Signed-off-by: Adi Aloni <aaloni@redhat.com>
@github-actions
Copy link

⚠️ Optional job e2e-bzlmod-toolchain-circular-dependencies failed ⚠️

  • exit status: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant