Skip to content

Commit

Permalink
Gzipping *.ko
Browse files Browse the repository at this point in the history
  • Loading branch information
fbelavenuto committed Jul 29, 2022
1 parent 95de500 commit 0c8aa99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compile-lkms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ while read PLATFORM KVER; do
docker run --rm -t --user `id -u` -v "${TMP_PATH}":/output \
-v "${PWD}":/input fbelavenuto/syno-compiler compile-lkm ${PLATFORM}
mv "${TMP_PATH}/redpill-dev.ko" "${DEST_PATH}/rp-${PLATFORM}-${KVER}-dev.ko"
gzip "${DEST_PATH}/rp-${PLATFORM}-${KVER}-dev.ko"
mv "${TMP_PATH}/redpill-prod.ko" "${DEST_PATH}/rp-${PLATFORM}-${KVER}-prod.ko"
gzip "${DEST_PATH}/rp-${PLATFORM}-${KVER}-prod.ko"
done < PLATFORMS

0 comments on commit 0c8aa99

Please sign in to comment.