sylabs / singularity

SingularityCE is the Community Edition of Singularity, an open source container platform designed to be simple, fast, and secure.
https://sylabs.io/docs/
Other
715 stars 93 forks source link

Bundle recent `sqfstar` from the squashfs-tools project #1941

Closed dtrudg closed 11 months ago

dtrudg commented 11 months ago

Creation of OCI-SIF images using sylabs/oci-tools requires either sqfstar (from squashfs-tools) or tar2sqfs (from squashfs-tools-ng).

While all distros provide squashfs-tools, some (e.g. EL) don't include the sqfstar binary.

Although squashfs-tools-ng is packaged for many distributions, it is not for EL.

To work around this, bundle sqfstar in a similar way as squashfuse_ll was provided in #1937

There must be an ability to build without a bundles sqfstar and fall back to a copy on PATH.

We are going with sqfstar at this point, because squashfs-tools currently has more regular release activity than -ng.

dtrudg commented 11 months ago

Due to the GPL license, and concerns about bundling into the same package (even if mere-aggregation seems to apply), we are not going to do this.