From 7fe2284cec86819e37552cabe8a437050787d365 Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Thu, 5 Jan 2023 12:44:19 -0600 Subject: [PATCH] fix docker build (untested) Forgot to update a symlink command in cdfb61f. I'm not able to test this right now because my build machine is down, but this fix should work. --- docker/dev.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/dev.bash b/docker/dev.bash index 91c8711..c8735cf 100755 --- a/docker/dev.bash +++ b/docker/dev.bash @@ -90,7 +90,7 @@ time apt-get install --assume-yes --no-install-recommends "${packages[@]}" # https://doc.rust-lang.org/cargo/guide/build-cache.html if [[ -n "${rust_target}" ]]; then su moonfire-nvr -lc "rustup target install ${rust_target} && - ln -s target/${rust_target}/release/moonfire-nvr ." + ln -s target/${rust_target}/release-lto/moonfire-nvr ." underscore_rust_target="${rust_target//-/_}" uppercase_underscore_rust_target="${underscore_rust_target^^}" cat >> /var/lib/moonfire-nvr/.buildrc < /docker-build-debug/dev/var-cache-apt-after