fix(linux): safely rebase legacy sysroot links #1553
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!1553
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/linux-legacy-sysroot-links"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Previously published Linux sysroot update parts can contain absolute sysroot links, which the newer updater rejects. #1536 avoids the known alias in newly produced parts, but it does not rewrite existing published parts.
This permits legacy rooted links only in the sysroot part and rebases them to relative links after verifying that their targets exist and resolve inside that sysroot. Absolute links in other parts remain rejected; missing or circular targets and lexical or indirect escapes fail. The same handling covers unchanged installed parts and new sysroot-part creation.
Testing