Kai Lüke 9952f2f84c
common: Support reading the package URL env vars from version.txt
The environment variables FLATCAR_DEV_BUILDS and FLATCAR_DEV_BUILDS_SDK
define where the base URL for the binary package store of the board
packages and the SDK packages. To set it, they were either exported in
the chroot or passed each time as parameter but this was only available
for the SDK packages in the tricky order
"update_chroot --dev_builds_sdk URL" (or --binhost) and then
"./build_packages --skip_chroot_upgrade".
The defining information for binary package URL comes from version.txt
but it lacks the base URL for a convenient use. Add the base URLs for
SDK and board packages there to be able to get binary packages without
manual tricks and errors. Any changes to
~/trunk/.repo/manifests/version.txt will directly be picked up
from ./build_packages and friends to set the correct URLs in
/etc/portage/make.conf and /build/BOARD/etc/portage/make.conf
so that even a manual "emerge(-BOARD) --usepkg --getbinpkg" uses them.
A helper script "./set_version" is provided to ease modifying
~/trunk/.repo/manifests/version.txt by resolving the latest nightly
version.
Later this functionality can also be used to simplify the Jenkins code
which currently sets these variables (but the special case of the
Release Base download being different from the upload holds).
2020-07-14 21:51:49 +02:00
2019-11-07 19:40:01 +01:00
2019-12-04 14:59:11 +01:00
2019-11-07 19:40:01 +01:00
2019-12-04 14:59:11 +01:00
2019-12-04 14:59:11 +01:00
2018-01-04 12:20:11 -08:00
2019-11-07 19:40:01 +01:00
2019-12-04 14:59:11 +01:00
2019-11-07 19:40:01 +01:00
2019-11-07 19:40:01 +01:00
2019-12-04 14:59:11 +01:00
2019-11-07 19:40:01 +01:00
2019-11-07 19:40:01 +01:00
2014-01-19 12:25:11 -08:00
2019-12-04 14:59:11 +01:00
2019-11-07 19:40:01 +01:00

Flatcar Container Linux SDK scripts

Welcome to the scripts repo, your starting place for most things here in the Flatcar Container Linux SDK. To get started you can find our documentation on the Flatcar docs website.

Description
image build and composition scripts for Flatcar Container Linux
Readme BSD-3-Clause 164 MiB
Languages
Shell 93.1%
Python 6.9%