dev-util/grok-build: disable auto-updates

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger
2026-07-22 07:17:36 +02:00
parent c3321364c0
commit a98ecd6aa2

View File

@@ -79,6 +79,12 @@ src_prepare() {
-i "$f" || die -i "$f" || die
done done
# Disable auto-updates
sed \
-e '1i #![allow(unreachable_code)]' \
-e '/fn env_installer(/a \ return Some("portage");' \
-i crates/codegen/xai-grok-update/src/auto_update.rs || die
# Cargo offline fetch workaround # Cargo offline fetch workaround
local url commit path local url commit path
IFS=";" read -r url commit path <<<"${GIT_CRATES[async-openai]}" IFS=";" read -r url commit path <<<"${GIT_CRATES[async-openai]}"