Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-arch/tar: adapt pkg_postinst for prefix bootstrapping
This commit allows Portage to overwrite the binary executable "tar" with a symbolic link, this situation is encountered during Gentoo prefix bootstrap. If left unhandled, it causes the bootstrap to fail with the error message: ln: failed to create symbolic link '/Users/ec2-user/gentoo/tmp/bin/tar': File exists The original binary is renamed to tar.bak. [sam: This is analogous to sys-devel/bison's hack too.] Bug: https://bugs.gentoo.org/886123 Closes: https://bugs.gentoo.org/904887 Suggested-by: Sam James <[email protected]> Signed-off-by: Yifeng Li <[email protected]> Closes: gentoo#30723 Signed-off-by: Sam James <[email protected]>
- Loading branch information