Preserve declared dependency order in primary links #588

Open
erikinkinen wants to merge 2 commits from fix/kernel-dynamic-dependency-order into feature/retained-image-library-variants
Owner

Primary links used registry traversal order for DSO arguments, while their metadata declared source-edge order. Bootloader and Rootd reject the resulting mismatch, even when the dependency sets are equal.

  • Keep direct DSO paths and implementation anchors in declared dependency order.
  • Reject a different DT_NEEDED sequence at link inspection and artifact admission.
  • Make metadata fixture encoders emit their advertised dependency tags.

Depends on #578. Full image boot and guest acceptance remain separate.

Primary links used registry traversal order for DSO arguments, while their metadata declared source-edge order. Bootloader and Rootd reject the resulting mismatch, even when the dependency sets are equal. - [x] Keep direct DSO paths and implementation anchors in declared dependency order. - [x] Reject a different DT_NEEDED sequence at link inspection and artifact admission. - [x] Make metadata fixture encoders emit their advertised dependency tags. Depends on #578. Full image boot and guest acceptance remain separate.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 08:12:50 +01:00
fix: Preserve declared dynamic dependency order
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Failing after 17s
CI / rust (push) Failing after 3m7s
Coreutils provider graph / coreutils (push) Successful in 4m27s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
bd59b78563
Primary links followed registry traversal order while metadata followed source-edge order, so authenticated images failed loader admission. Keep DSO paths and anchors in declared order and reject a different DT_NEEDED sequence before publication. Make metadata fixtures encode their advertised dependencies as well.
docs: Wrap feature documentation consistently
Some checks failed
Coreutils provider graph / coreutils (push) Has been cancelled
CI / rust (push) Has been cancelled
CI / native_sources (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Has been cancelled
3196a38d34
Keep the existing feature documentation within the shared Markdown layout rules without changing its content.
Some checks failed
Coreutils provider graph / coreutils (push) Has been cancelled
CI / rust (push) Has been cancelled
CI / native_sources (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Has been cancelled
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'fix/kernel-dynamic-dependency-order:fix/kernel-dynamic-dependency-order'
git switch 'fix/kernel-dynamic-dependency-order'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/retained-image-library-variants'
git merge --no-ff 'fix/kernel-dynamic-dependency-order'
git switch 'fix/kernel-dynamic-dependency-order'
git rebase 'feature/retained-image-library-variants'
git switch 'feature/retained-image-library-variants'
git merge --ff-only 'fix/kernel-dynamic-dependency-order'
git switch 'fix/kernel-dynamic-dependency-order'
git rebase 'feature/retained-image-library-variants'
git switch 'feature/retained-image-library-variants'
git merge --no-ff 'fix/kernel-dynamic-dependency-order'
git switch 'feature/retained-image-library-variants'
git merge --squash 'fix/kernel-dynamic-dependency-order'
git switch 'feature/retained-image-library-variants'
git merge --ff-only 'fix/kernel-dynamic-dependency-order'
git switch 'feature/retained-image-library-variants'
git merge 'fix/kernel-dynamic-dependency-order'
git push origin 'feature/retained-image-library-variants'
Sign in to join this conversation.
No description provided.