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

install-tree.sh: use tar to capture symlinks properly #628

Merged
merged 2 commits into from
May 15, 2024

Conversation

ahesford
Copy link
Member

Using find and install to copy files misses the convenience symlinks that we use in zfsbootmenu/bin. Even if we can identify the links with another find command, install will dereference them. The simplest solution is to just use tar, and --no-same-owner will ensure that ownership isn't taken from the repository but from the user actually doing the installation (although the permissions will still be taken from the repo). This seems to work as expected for an installation as a regular user and as root, and also appears to work with both GNU tar and bsdtar.

@ahesford ahesford merged commit d48408b into master May 15, 2024
3 checks passed
@ahesford ahesford deleted the hatchet_axe_and_saw branch May 15, 2024 14:25
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.

None yet

2 participants