mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
coreos-base/emerge-gitclone: Bring in a fix for developer channel and builds
For the main branch (so for nightly builds) the group in `/usr/share/flatcar/update.conf` is not "main", but "developer". This needs a small translation when turning it into a channel information. Without that, we are trying to checkout a nonexistent tag named `developer-3363.0.0-…` instead of `main-3363.0.0-…`, which fails. In developer builds version string contains version numbers and a build ID with plus symbol sitting between them. Git tags are formatted in similar way, but with a dash, instead of plus. Thus the plus needs to be replaced to obtain a proper git tag.
This commit is contained in:
parent
0d4f50492b
commit
48b79af088
@ -10,7 +10,7 @@ CROS_WORKON_LOCALDIR="src/platform"
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
else
|
||||
CROS_WORKON_COMMIT="7752d81eba5cfc380962e189468b80940d8d2a6d" # flatcar-master
|
||||
CROS_WORKON_COMMIT="ce789b660ecd42043312329a4b2f7ddcc2a8c033" # flatcar-master
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user