Skip to content

Commit

Permalink
ATOMIC_PACKAGE_REPOSITORY: Be a bit more verbose about packages direc…
Browse files Browse the repository at this point in the history
…tory paths.
  • Loading branch information
bdrewery committed Oct 24, 2018
1 parent 2d8e67d commit da96eb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/share/poudriere/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ stash_packages() {
# If the .building directory is still around, use it. The
# previous build may have failed, but all of the successful
# packages are still worth keeping for this build.
msg "Using packages from previously failed build"
msg "Using packages from previously failed build: ${PACKAGES}/.building"
else
msg "Stashing existing package repository"
Expand Down Expand Up @@ -1893,7 +1893,8 @@ commit_packages() {
return 0
fi
msg "Committing packages to repository"
pkgdir_new=.real_$(clock -epoch)
msg "Committing packages to repository: ${PACKAGES_ROOT}/${pkgdir_new} via .latest symlink"
bset status "committing:"
# Find any new top-level files not symlinked yet. This is
Expand Down Expand Up @@ -1924,7 +1925,6 @@ symlink to .latest/${name}"
pkgdir_old=$(realpath ${PACKAGES_ROOT}/.latest 2>/dev/null || :)
# Rename shadow dir to a production name
pkgdir_new=.real_$(clock -epoch)
mv ${PACKAGES_ROOT}/.building ${PACKAGES_ROOT}/${pkgdir_new}
# XXX: Copy in packages that failed to build
Expand Down

0 comments on commit da96eb1

Please sign in to comment.