Skip to content

Fix unrelated package installation in chroot builds without LocalRepo - #1579

Open
2asoft wants to merge 1 commit into
Morganamilo:masterfrom
2asoft:aasoft/chroot_real_deps
Open

Fix unrelated package installation in chroot builds without LocalRepo#1579
2asoft wants to merge 1 commit into
Morganamilo:masterfrom
2asoft:aasoft/chroot_real_deps

Conversation

@2asoft

@2asoft 2asoft commented Jul 31, 2026

Copy link
Copy Markdown

Fixes #1578.
When Chroot is enabled and LocalRepo is unset, pass only previously built artifacts required by the current package's declared dependency closure.

This preserves AUR build dependencies, including versioned providers and active check dependencies, without installing unrelated earlier build outputs into later chroots.

Tests:

  • cargo fmt --check
  • cargo test --lib
  • cargo build --release
  • Real clean-chroot update with multiple independent and dependent AUR packages

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.

Excessive aur package build times when using chroot builds without LocalRepo

1 participant