Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: Change rootfs compression to gzip #142

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

vsiravar
Copy link
Contributor

Issue #, if available:

Description of changes:
Change compression of rootfs bundle to gzip since windows does not come with zstd installed.

Testing done:
Yes, locally.

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@vsiravar vsiravar force-pushed the vsiravar/rootfs-gzip branch 3 times, most recently from 023edd6 to 5ef47e9 Compare August 25, 2023 19:41
@austinvazquez
Copy link
Member

Do we need to update Makefile and bin/update-rootfs.sh now as well? See https://github.com/search?q=org%3Arunfinch%20.tar.zst&type=code

@vsiravar
Copy link
Contributor Author

Do we need to update Makefile and bin/update-rootfs.sh now as well? See https://github.com/search?q=org%3Arunfinch%20.tar.zst&type=code

This is a good point. However the Makefile is updated when https://github.com/runfinch/finch-core/blob/main/.github/workflows/update-dependencies.yaml#L32 action runs. For the next run we still need https://github.com/runfinch/finch-core/blob/main/bin/update-rootfs.sh#L5 as the Makefile has a zst compressed tar. Once the change is merged, I will update the update-rootfs.sh to

AARCH64_FILENAME_PATTERN="common/aarch64/finch-rootfs-production-arm64-[0-9].*\.tar.gz$"
AMD64_FILENAME_PATTERN="common/x86-64/finch-rootfs-production-amd64-[0-9].*\.tar.gz$"

@vsiravar vsiravar merged commit 3353d02 into runfinch:main Aug 25, 2023
6 checks passed
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.

3 participants