From a23e18fb178af14e6029300df4ceb62510002c81 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Thu, 16 Apr 2026 06:37:39 +0700 Subject: [PATCH] Add wget and cargo git workaround for self hosted build --- mk/config.mk | 1 + native_bootstrap.sh | 3 ++- recipes/other/cookbook/recipe.toml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mk/config.mk b/mk/config.mk index 0d8484057..6595f2a83 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -122,6 +122,7 @@ else ifeq ($(UNAME),FreeBSD) VBM=VBoxManage else ifeq ($(UNAME),Redox) PODMAN_BUILD=0 + export CARGO_NET_GIT_FETCH_WITH_CLI=true # TODO: allow overriding to cross compiler toolchain when build server have one prebuilt HOSTED_REDOX=1 ifneq ($(shell which repo),) diff --git a/native_bootstrap.sh b/native_bootstrap.sh index 4b5411bd3..6724aad6b 100755 --- a/native_bootstrap.sh +++ b/native_bootstrap.sh @@ -897,7 +897,8 @@ redox() rust \ sdl1 \ sdl2-ttf \ - vim" + vim \ + wget" # Try to install packages, but don't fail if some are unavailable diff --git a/recipes/other/cookbook/recipe.toml b/recipes/other/cookbook/recipe.toml index 285a550c4..fc90bfb42 100644 --- a/recipes/other/cookbook/recipe.toml +++ b/recipes/other/cookbook/recipe.toml @@ -27,6 +27,7 @@ dependencies = [ "pkgar", "python312", "sed", + "wget", # toolchains are dynamically linked, so this is needed "libgmp", "libmpfr",