Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch packages after removing what we need to rebuild, not before that. #1148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/share/poudriere/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9239,7 +9239,6 @@ prepare_ports() {
else
trim_ignored
fi
download_from_repo
if ! ensure_pkg_installed; then
delete_all_pkgs "pkg bootstrap missing: unable to inspect existing packages"
fi
Expand Down Expand Up @@ -9268,6 +9267,7 @@ prepare_ports() {
msg "Skipping recursive rebuild"
fi

download_from_repo
delete_stale_symlinks_and_empty_dirs
delete_stale_pkg_cache
download_from_repo_post_delete
Expand Down