aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-14 15:26:46 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-14 15:26:46 -0800
commitd3291d6a7dc5d7ead326f27e97a841682a3aa20f (patch)
tree15acbc8805c51bf86d36a5f8c2f1183d982820f4 /setup
parenta722658e5a3c2c15ceffa51a80b63bda758264bd (diff)
downloadtrackermap-server-d3291d6a7dc5d7ead326f27e97a841682a3aa20f.tar.gz
trackermap-server-d3291d6a7dc5d7ead326f27e97a841682a3aa20f.tar.bz2
trackermap-server-d3291d6a7dc5d7ead326f27e97a841682a3aa20f.zip
Add missing JDK module
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/package.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/package.sh b/setup/package.sh
index 71b86014f..f17b5fb14 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -120,7 +120,7 @@ package_other () {
package_windows () {
info "Building Windows 64 installer"
unzip -q OpenJDK*64_windows*.zip
- jlink --module-path jdk-*/jmods --add-modules java.se,jdk.charsets,jdk.crypto.ec --output out/jre
+ jlink --module-path jdk-*/jmods --add-modules java.se,jdk.charsets,jdk.crypto.ec,jdk.unsupported --output out/jre
rm -rf jdk-*
wine app/ISCC.exe traccar.iss >/dev/null
rm -rf out/jre
@@ -134,7 +134,7 @@ package_linux () {
cp traccar.service out
tar -xf OpenJDK*$1_linux*.tar.gz
- jlink --module-path jdk-*/jmods --add-modules java.se,jdk.charsets,jdk.crypto.ec --output out/jre
+ jlink --module-path jdk-*/jmods --add-modules java.se,jdk.charsets,jdk.crypto.ec,jdk.unsupported --output out/jre
rm -rf jdk-*
makeself --needroot --quiet --notemp out traccar.run "traccar" ./setup.sh
rm -rf out/jre