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

tools/collect-sources.sh: Remove unknown keyword warnings for GNU tar #4687

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

rene
Copy link
Contributor

@rene rene commented Mar 17, 2025

Reviewing PR #4686 I realized we still have "unknown keyword" warnings when using GNU tar for the collect-sources.sh script:

https://github.com/lf-edge/eve/actions/runs/13900623160/job/38905628030#step:4:144

This PR applies the same check found in Makefile also for the collect-sources.sh script, so we can get rid of these warnings that throws a lot of data to output, which is annoying specially when checking our GH actions output....

The rootfs tarball includes extended PAX headers, which GNU tar does not
support. This commit applies to collect-sources.sh script the same check
found in Makefile (for TAR_OPTS), removing "unknown keyword" warnings when
using GNU tar (non BSD).

Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
@rene rene requested a review from deitch as a code owner March 17, 2025 18:10
Copy link
Contributor

@deitch deitch left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for doing this.

@rene
Copy link
Contributor Author

rene commented Mar 18, 2025

Eden tests are not applicable in this case because just the tools/collect-sources.sh it's changed.

@rene rene merged commit 8633caf into lf-edge:master Mar 18, 2025
32 of 33 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.

2 participants