From 44efa8abebbeea946baa31052df69fc94a88a338 Mon Sep 17 00:00:00 2001 From: Fabio Belavenuto Date: Tue, 3 Jan 2023 13:53:59 -0300 Subject: [PATCH] Using old docker image for compiling --- compile-lkms.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compile-lkms.sh b/compile-lkms.sh index 3675160..1506712 100755 --- a/compile-lkms.sh +++ b/compile-lkms.sh @@ -20,8 +20,10 @@ function compileLkm() { OUT_PATH="${TMP_PATH}/${PLATFORM}" mkdir -p "${OUT_PATH}" # Compile using docker +# docker run --rm -t -v "${OUT_PATH}":/output -v "${PWD}":/input \ +# fbelavenuto/syno-toolkit:${PLATFORM}-${TOOLKIT_VER} compile-lkm docker run --rm -t -v "${OUT_PATH}":/output -v "${PWD}":/input \ - fbelavenuto/syno-toolkit:${PLATFORM}-${TOOLKIT_VER} compile-lkm + fbelavenuto/syno-compiler:${TOOLKIT_VER} compile-lkm ${PLATFORM} mv "${OUT_PATH}/redpill-dev.ko" "${DEST_PATH}/rp-${PLATFORM}-${KVER}-dev.ko" rm -f "${DEST_PATH}/rp-${PLATFORM}-${KVER}-dev.ko.gz" gzip "${DEST_PATH}/rp-${PLATFORM}-${KVER}-dev.ko" @@ -32,8 +34,9 @@ function compileLkm() { } # Main +docker pull fbelavenuto/syno-compiler:${TOOLKIT_VER} while read PLATFORM KVER; do - docker pull fbelavenuto/syno-toolkit:${PLATFORM}-${TOOLKIT_VER} +# docker pull fbelavenuto/syno-toolkit:${PLATFORM}-${TOOLKIT_VER} compileLkm "${PLATFORM}" "${KVER}" & done < PLATFORMS wait \ No newline at end of file