We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46baf8d commit 69c064eCopy full SHA for 69c064e
diy-part2.sh
@@ -3,3 +3,13 @@ sed -i 's/192.168.1.1/192.168.10.10/g' package/base-files/files/bin/config_gener
3
4
# change tr3000v1 ubi size
5
git apply 999-dts-cudy-tr3000-v1-modification.patch
6
+
7
+# Copied from https://github.com/Shuery-Shuai/ImmortalWrt-BPI-R4-Firmware/blob/4c275df675faa2d92967a1db4dc96807adef15f3/diy-part2.sh#L210
8
+# Set Rust build arg llvm.download-ci-llvm to false.
9
+RUST_MAKEFILE="feeds/packages/lang/rust/Makefile"
10
+if [[ -f "${RUST_MAKEFILE}" ]]; then
11
+ printf "Modifying %s...\n" "${RUST_MAKEFILE}"
12
+ sed -i 's/--set=llvm\.download-ci-llvm=true/--set=llvm.download-ci-llvm=false/' "${RUST_MAKEFILE}"
13
+else
14
+ echo "File ${RUST_MAKEFILE} does not exist." >&2
15
+fi
0 commit comments