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

dashboard: fix env/dragonfly-amd64 build #88

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 10 additions & 0 deletions env/dragonfly-amd64/phase2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@ q' | ed /etc/rc.d/pfi
# pfi startup does not have full path that a root login does.
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/sbin:/usr/pkg/bin:/root/bin

# Upgrade pkg first
pkg update
pkg upgrade -y pkg || true

# pkg 1.14 had a bug
[ ! -f /usr/local/etc/pkg/repos/df-latest.conf ] && \
cp /usr/local/etc/pkg/repos/df-latest.conf.sample /usr/local/etc/pkg/repos/df-latest.conf

# Update pkg database and install extras we need.
pkg update
pkg upgrade -fy
pkg install -y bash curl git gdb

echo 'DONE WITH PHASE 2.'
Expand Down