mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
dev_image_util: hardcode correct portage binhost
We already hardcode similar urls a bit below (the sync-uri). Not hardcoding the binhost results in an incorrect value during embargoed build uploads.
This commit is contained in:
parent
767072aa09
commit
dcbc6a8686
@ -25,7 +25,8 @@ PKGDIR="/var/lib/portage/pkgs"
|
||||
PORT_LOGDIR="/var/log/portage"
|
||||
PORTDIR="/var/lib/portage/portage-stable"
|
||||
PORTDIR_OVERLAY="/var/lib/portage/coreos-overlay"
|
||||
PORTAGE_BINHOST="$(get_board_binhost $BOARD $COREOS_VERSION_ID | sed 's/^gs:/http:/')"
|
||||
PORTAGE_BINHOST="http://builds.developer.core-os.net/boards/${BOARD}/${COREOS_VERSION_ID}/pkgs/
|
||||
http://builds.developer.core-os.net/boards/${BOARD}/${COREOS_VERSION_ID}/toolchain/"
|
||||
EOF
|
||||
|
||||
sudo_clobber "$1/etc/portage/repos.conf/coreos.conf" <<EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user