Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Discuss xz support for platforms #17

Open
mobileoverlord opened this issue Jan 16, 2016 · 2 comments
Open

Discuss xz support for platforms #17

mobileoverlord opened this issue Jan 16, 2016 · 2 comments

Comments

@mobileoverlord
Copy link
Contributor

This is required especially for windows support.

@mobileoverlord
Copy link
Contributor Author

After a long trial and error period with @fhunleth we decided we needed to keep toolchains in xz compression which is not supported by erl_tar. This requires us to continue to shell out to tar. I am updating the description of this task to redirect it towards a conversation about xz and windows

@mobileoverlord mobileoverlord changed the title use :erl_tar instead of tar command Discuss xz support for all platforms Jan 19, 2016
@mobileoverlord mobileoverlord changed the title Discuss xz support for all platforms Discuss xz support for platforms Jan 19, 2016
@fhunleth
Copy link
Contributor

The reason for not using erl_tar was that it failed to extract the toolchain tarballs. The initial problem was that we are using GNU Tar to create the tarballs. Upon review of the erl_tar docs, we started specifying --format=ustar when calling GNU Tar. This created the additional problem of restricting path lengths too much to include a couple files for the crosscompiler. An attempt was made to make a root directory-less tarball so that the path length constraint could be met, but this prevented Buildroot from using the toolchain.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants