From f0e193876b77dbf709178803d3e5abd12c5ebd46 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Thu, 1 Feb 2024 09:27:41 +0000 Subject: [PATCH] fix: Run make_release in privileged docker contaner Otherwise it cannot dynamically download the cargo targets specified by the rust-toolchain.toml. On main, we solved this by having the targets be present in the container by default, but that would involve backporting container updates to the release branch. Signed-off-by: Patrick Roy --- tools/devtool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/devtool b/tools/devtool index 2ffd58c57d8..12ff95f51f5 100755 --- a/tools/devtool +++ b/tools/devtool @@ -487,7 +487,7 @@ cmd_build() { function cmd_make_release { run_devctr \ - --user "$(id -u):$(id -g)" \ + --privileged \ --workdir "$CTR_FC_ROOT_DIR" \ -- \ ./tools/release.sh --libc musl --profile release --make-release