mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-21 21:51:57 +02:00
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).
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
Languages
Shell
93.1%
Python
6.9%