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

Update bootstrap script in light of installer refactorings #3592

Merged
merged 1 commit into from Oct 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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