зеркало из https://github.com/golang/build.git
dashboard: fix env/dragonfly-amd64 build
Due to several factors as an old pkg version in the ISO, or the amount
of changes that have gone to the binary packages since 6.4.0 was
released, a bit of a workaround is needed in phase2.sh
For golang/go#64684.
Change-Id: I233fcfb77c3cc2f0b04331ad7bfee5892193622a
GitHub-Last-Rev: 76b78fd935
GitHub-Pull-Request: golang/build#88
Reviewed-on: https://go-review.googlesource.com/c/build/+/568315
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Родитель
a486a303aa
Коммит
d6ee231f33
|
@ -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.'
|
||||
|
|
Загрузка…
Ссылка в новой задаче