mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
ORIG_HEAD is the previous HEAD, so it is not what we are after. HEAD only contains the hash if we are in a detached head situation, otherwise it will contain a ref and we need to resolve it. `git rev-parse HEAD` should work as well but hits an issue with git's new `safe.directory` setting, I have not found a way to set this parameter for a signle call. For toolchain packages are built with catalyst, and the HEAD value needs to pre-resolved because we do not have access to the whole git repository. So build_toolchains will need to inject the correct HEAD file contents. |
||
---|---|---|
.. | ||
src/third_party/coreos-overlay |