mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
build_image: do not use gs:// URLs in dev images
When building dev images, the PORTAGE_BINHOST value during build time is written to the image's make.conf. This breaks the default binary package setup, since Jenkins is using gs:// URLs for signed package verification and authenticated downloads, and the make.conf doesn't inherit the GS_* variables to handle those schemes. This should be reverted when signed packages are properly supported by default in the dev images.
This commit is contained in:
parent
370bbe512f
commit
d9bfa7e1ac
@ -26,7 +26,7 @@ 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)"
|
||||
PORTAGE_BINHOST="$(get_board_binhost $BOARD $COREOS_VERSION_ID | sed 's/^gs:/http:/')"
|
||||
EOF
|
||||
|
||||
sudo_clobber "$1/etc/portage/repos.conf/coreos.conf" <<EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user