Skip to content

Commit

Permalink
Merge pull request #3592 from habitat-sh/cm/3591-fix-bootstrapping
Browse files Browse the repository at this point in the history
Approved by: @nobody from Nowhere
Merged by: The Sentinels
  • Loading branch information
thesentinels committed Oct 7, 2017
2 parents 8635f3f + a206e27 commit 9ce8276
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions terraform/scripts/install_base_packages.sh
Expand Up @@ -111,6 +111,15 @@ log "Installing public origin keys"
mkdir -p /hab/cache/keys
cp ${tmpdir}/keys/* /hab/cache/keys

# When installing packages (even from a .hart file), we pull
# dependencies from Builder, but we pull them *through the artifact
# cache*. If we put all the hart files in the cache first, we should
# be able to install everything we need. There will be some extra
# artifacts, but that's a minor concern.
log "Populating artifact cache"
mkdir -p /hab/cache/artifacts
cp ${tmpdir}/artifacts/* /hab/cache/artifacts

for pkg in "${sup_packages[@]}" ${services_to_install[@]:-}
do
pkg_name=${pkg##core/} # strip "core/" if it's there
Expand Down

0 comments on commit 9ce8276

Please sign in to comment.