fix(appimage): copy sysroot library aliases by value for updates #1536
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!1536
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/linux-update-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?
The updater now refuses absolute-target ZIP symlinks, but the AppImage sysroot copies system library aliases with
cp -a. A distribution's absolutelibmvec.soalias can therefore produce an update part the updater rejects. The old toolchain-link fixture also contradicts that new refusal policy and fails the shared Linux source checks.Copy the selected sysroot library inputs by value with
cp -aL, retaining their bytes/attributes inside the part. Keep the deliberate relativelib -> usr/liblayout and update the valid-link fixture to exercise relative links. The ZIP writer, updater and their absolute-link refusal are unchanged; existing bad parts are not rewritten.Validation at
d582bffon main509579b:cp -arestores an assertion failure in that test. Hostile ZIP symlink/write-through and symlinked-destination tests still reject their inputs. Bash syntax passes.See
docs/linux-update-sysroot.md. No game data or build output is included.Current-head validation
Current head
d582bff, based on main509579b. Earlier local/runtime results describe their recorded source hashes.Fork runs are separate from upstream Actions approval; no maintainer approval gate is bypassed.