From 2032fa817598caa9f49cc3692664ffd93d1ffab9 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 8 Nov 2026 18:03:40 +0100 Subject: [PATCH] fix(immich): do not clone libjxl's testdata (#18539) The build runs with BUILD_TESTING=OFF, but the recursive submodule update also cloned the large testdata repo, and two installs died on network errors inside it. Only third_party is fetched now; libjxl at Immich's pinned revision configures and builds without it. --- ct/immich.sh | 2 +- install/immich-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/immich.sh b/ct/immich.sh index f3e1f5759..76e76c920 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -419,7 +419,7 @@ function compile_libjxl() { $STD git clone https://github.com/libjxl/libjxl.git "$SOURCE" cd "$SOURCE" $STD git reset --hard "$LIBJXL_REVISION" - $STD git submodule update --init --recursive --depth 1 --recommend-shallow + $STD git submodule update --init --recursive --depth 1 --recommend-shallow -- third_party mkdir build cd build $STD cmake \ diff --git a/install/immich-install.sh b/install/immich-install.sh index b5b849099..23b4d7401 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -222,7 +222,7 @@ LIBJXL_REVISION="$(jq -cr '.revision' "$BASE_DIR"/server/sources/libjxl.json)" $STD git clone https://github.com/libjxl/libjxl.git "$SOURCE" cd "$SOURCE" $STD git reset --hard "$LIBJXL_REVISION" -$STD git submodule update --init --recursive --depth 1 --recommend-shallow +$STD git submodule update --init --recursive --depth 1 --recommend-shallow -- third_party mkdir build cd build $STD cmake \