diff --git a/kura/distrib/pom.xml b/kura/distrib/pom.xml index 4e497933ae4..b973d157a3d 100644 --- a/kura/distrib/pom.xml +++ b/kura/distrib/pom.xml @@ -1136,6 +1136,7 @@ + java8 @@ -1145,6 +1146,7 @@ false + java17 @@ -1154,8 +1156,10 @@ true + + - generic-arm32 + armhf buildAll @@ -1188,7 +1192,7 @@ 1.7 - generic-arm32-jars + armhf-jars prepare-package run @@ -1199,10 +1203,10 @@ - - + + - + @@ -1218,18 +1222,18 @@ 1.0 - generic-arm32-deb + armhf-deb package jdeb true - ${basedir}/target/kura_${project.version}_generic-arm32_installer.deb - ${basedir}/src/main/resources/generic-arm32/deb/control + ${basedir}/target/kura_${project.version}_armhf.deb + ${basedir}/src/main/resources/armhf/deb/control - ${basedir}/target/kura_${project.version}_generic-arm32.zip + ${basedir}/target/kura_${project.version}_armhf.zip file perm @@ -1250,8 +1254,9 @@ + - generic-arm32-nn + armhf-nn buildAll @@ -1284,7 +1289,7 @@ 1.7 - generic-arm32-nn-jars + armhf-nn-jars prepare-package run @@ -1295,10 +1300,10 @@ - - + + - + @@ -1314,18 +1319,18 @@ 1.0 - generic-arm32-nn-deb + armhf-nn-deb package jdeb true - ${basedir}/target/kura_${project.version}_generic-arm32-nn_installer.deb - ${basedir}/src/main/resources/generic-arm32-nn/deb/control + ${basedir}/target/kura-nn_${project.version}_armhf.deb + ${basedir}/src/main/resources/armhf-nn/deb/control - ${basedir}/target/kura_${project.version}_generic-arm32-nn.zip + ${basedir}/target/kura_${project.version}_armhf-nn.zip file perm @@ -1341,8 +1346,9 @@ + - generic-x86_64 + x86_64 buildAll @@ -1375,7 +1381,7 @@ 1.7 - generic-x86_64-jars + x86_64-jars prepare-package run @@ -1386,10 +1392,10 @@ - - + + - + @@ -1405,18 +1411,18 @@ 1.0 - generic-x86_64-deb + x86_64-deb package jdeb true - ${basedir}/target/kura_${project.version}_generic-x86_64_installer.deb - ${basedir}/src/main/resources/generic-x86_64/deb/control + ${basedir}/target/kura_${project.version}_amd64.deb + ${basedir}/src/main/resources/x86_64/deb/control - ${basedir}/target/kura_${project.version}_generic-x86_64.zip + ${basedir}/target/kura_${project.version}_x86_64.zip file perm @@ -1437,8 +1443,9 @@ + - generic-x86_64-nn + x86_64-nn buildAll @@ -1471,7 +1478,7 @@ 1.7 - generic-x86_64-nn-jars + x86_64-nn-jars prepare-package run @@ -1482,10 +1489,10 @@ - - + + - + @@ -1501,18 +1508,18 @@ 1.0 - generic-x86_64-nn-deb + x86_64-nn-deb package jdeb true - ${basedir}/target/kura_${project.version}_generic-x86_64-nn_installer.deb - ${basedir}/src/main/resources/generic-x86_64-nn/deb/control + ${basedir}/target/kura-nn_${project.version}_amd64.deb + ${basedir}/src/main/resources/x86_64-nn/deb/control - ${basedir}/target/kura_${project.version}_generic-x86_64-nn.zip + ${basedir}/target/kura_${project.version}_x86_64-nn.zip file perm @@ -1527,9 +1534,10 @@ - + + - generic-aarch64 + aarch64 buildAll @@ -1562,7 +1570,7 @@ 1.7 - generic-aarch64-jars + aarch64-jars prepare-package run @@ -1573,11 +1581,11 @@ - - + + - - + + @@ -1592,18 +1600,18 @@ 1.0 - generic-aarch64-deb + aarch64-deb package jdeb true - ${basedir}/target/kura_${project.version}_generic-aarch64_installer.deb - ${basedir}/src/main/resources/generic-aarch64/deb/control + ${basedir}/target/kura_${project.version}_arm64.deb + ${basedir}/src/main/resources/aarch64/deb/control - ${basedir}/target/kura_${project.version}_generic-aarch64.zip + ${basedir}/target/kura_${project.version}_aarch64.zip file perm @@ -1624,8 +1632,9 @@ + - generic-aarch64-nn + aarch64-nn buildAll @@ -1658,7 +1667,7 @@ 1.7 - generic-aarch64-nn-jars + aarch64-nn-jars prepare-package run @@ -1669,11 +1678,11 @@ - - + + - - + + @@ -1688,18 +1697,18 @@ 1.0 - generic-aarch64-nn-deb + aarch64-nn-deb package jdeb true - ${basedir}/target/kura_${project.version}_generic-aarch64-nn_installer.deb - ${basedir}/src/main/resources/generic-aarch64-nn/deb/control + ${basedir}/target/kura-nn_${project.version}_arm64.deb + ${basedir}/src/main/resources/aarch64-nn/deb/control - ${basedir}/target/kura_${project.version}_generic-aarch64-nn.zip + ${basedir}/target/kura_${project.version}_aarch64-nn.zip file perm @@ -1715,6 +1724,8 @@ + + docker-x86_64-nn @@ -1832,6 +1843,7 @@ + docker-ubi8-x86_64-nn @@ -1878,6 +1890,7 @@ + docker-alpine-x86_64-nn @@ -1925,6 +1938,7 @@ + dev-env @@ -2273,6 +2287,9 @@ + + + core-dp @@ -2400,6 +2417,7 @@ + can-dp @@ -2437,5 +2455,6 @@ + diff --git a/kura/distrib/src/main/ant/build_equinox_distrib.xml b/kura/distrib/src/main/ant/build_equinox_distrib.xml index 7087be1ba8a..101715d9030 100644 --- a/kura/distrib/src/main/ant/build_equinox_distrib.xml +++ b/kura/distrib/src/main/ant/build_equinox_distrib.xml @@ -268,22 +268,12 @@ ${DIR}/bin/gen_config_ini.sh ${DIR}/framework/config.ini ${DIR}/plugins > /tmp/. KURA_RUNNING=`ps ax | grep java | grep "org.eclipse.equinox"` -#get java version -JAVA_VERSION=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}') -JAVA_VERSION_NUM=$(echo "$JAVA_VERSION" | awk -F. '{printf("%03d%03d",$1,$2);}') - -OPEN_MODULE_OPTIONS='' - -if [ $JAVA_VERSION_NUM -gt 001008 ] ; then - OPEN_MODULE_OPTIONS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED" -fi - if [ -z "$KURA_RUNNING" ] ; then exec java -Xms${kura.mem.size} -Xmx${kura.mem.size} \ -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/kura-heapdump.hprof \ -XX:ErrorFile=/var/log/kura-error.log \ -XX:+IgnoreUnrecognizedVMOptions \ - ${OPEN_MODULE_OPTIONS} \ + --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED \ --add-modules=ALL-SYSTEM \ -Dkura.os.version=${kura.os.version} \ -Dkura.arch=${kura.arch} \ @@ -321,16 +311,6 @@ ${DIR}/bin/gen_config_ini.sh ${DIR}/framework/config.ini ${DIR}/plugins > /tmp/. KURA_RUNNING=`ps ax | grep java | grep "org.eclipse.equinox"` -#get java version -JAVA_VERSION=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}') -JAVA_VERSION_NUM=$(echo "$JAVA_VERSION" | awk -F. '{printf("%03d%03d",$1,$2);}') - -OPEN_MODULE_OPTIONS='' - -if [ $JAVA_VERSION_NUM -gt 001008 ] ; then - OPEN_MODULE_OPTIONS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED" -fi - if [ -z "$KURA_RUNNING" ] ; then exec java -Xms${kura.mem.size} -Xmx${kura.mem.size} \ -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/var/log/kura-gc.log \ @@ -338,7 +318,7 @@ if [ -z "$KURA_RUNNING" ] ; then -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/kura-heapdump.hprof \ -XX:ErrorFile=/var/log/kura-error.log \ -XX:+IgnoreUnrecognizedVMOptions \ - ${OPEN_MODULE_OPTIONS} \ + --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED \ --add-modules=ALL-SYSTEM \ -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=*:8000,suspend=n \ -Dkura.os.version=${kura.os.version} \ @@ -378,22 +358,12 @@ ${DIR}/bin/gen_config_ini.sh ${DIR}/framework/config.ini ${DIR}/plugins > /tmp/. KURA_RUNNING=`ps ax | grep java | grep "org.eclipse.equinox"` -#get java version -JAVA_VERSION=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}') -JAVA_VERSION_NUM=$(echo "$JAVA_VERSION" | awk -F. '{printf("%03d%03d",$1,$2);}') - -OPEN_MODULE_OPTIONS='' - -if [ $JAVA_VERSION_NUM -gt 001008 ] ; then - OPEN_MODULE_OPTIONS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED" -fi - if [ -z "$KURA_RUNNING" ] ; then nohup java -Xms${kura.mem.size} -Xmx${kura.mem.size} \ -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/kura-heapdump.hprof \ -XX:ErrorFile=/var/log/kura-error.log \ -XX:+IgnoreUnrecognizedVMOptions \ - ${OPEN_MODULE_OPTIONS} \ + --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED \ --add-modules=ALL-SYSTEM \ -Dkura.os.version=${kura.os.version} \ -Dkura.arch=${kura.arch} \ @@ -424,24 +394,12 @@ fi]]> - - - - diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/control b/kura/distrib/src/main/resources/aarch64-nn/deb/control/control similarity index 71% rename from kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/control rename to kura/distrib/src/main/resources/aarch64-nn/deb/control/control index cf60b26aabf..841c492979f 100644 --- a/kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/control +++ b/kura/distrib/src/main/resources/aarch64-nn/deb/control/control @@ -10,18 +10,20 @@ # Contributors: # Eurotech # -Package: kura +Package: kura-nn Version: [[project.version]] -Section: misc -Priority: low -Depends: openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, +Section: admin +Priority: optional +Depends: openjdk-17-jre-headless | temurin-17-jdk, setserial, zip, gzip, unzip, procps, usbutils, socat, gawk, sed, inetutils-telnet, polkit | policykit-1, ssh | openssh, openssl, busybox, openvpn, bluez | bluez5, bluez-hcidump | bluez5-noinst-tools, ntpdate, chrony, chronyc | chrony, cron | cronie, logrotate, gpsd, python3 -Architecture: all -Maintainer: support@eurotech.com -Description: Kura is an inclusive software framework that puts a layer +Architecture: arm64 +Maintainer: Eclipse Kura Developers +Homepage: https://eclipse-kura.github.io/kura/ +Description: Open-source IoT edge framework based on Java/OSGi + Kura is an inclusive software framework that puts a layer between the operating system and the customer application, with industry standard interfaces that shorten custom development time, simplified coding and software that can be easily ported from one hardware platform diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/postinst b/kura/distrib/src/main/resources/aarch64-nn/deb/control/postinst similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/postinst rename to kura/distrib/src/main/resources/aarch64-nn/deb/control/postinst diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/preinst b/kura/distrib/src/main/resources/aarch64-nn/deb/control/preinst similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/preinst rename to kura/distrib/src/main/resources/aarch64-nn/deb/control/preinst diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/prerm b/kura/distrib/src/main/resources/aarch64-nn/deb/control/prerm similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64-nn/deb/control/prerm rename to kura/distrib/src/main/resources/aarch64-nn/deb/control/prerm diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/kura.logrotate b/kura/distrib/src/main/resources/aarch64-nn/kura.logrotate similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64-nn/kura.logrotate rename to kura/distrib/src/main/resources/aarch64-nn/kura.logrotate diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/kura.properties b/kura/distrib/src/main/resources/aarch64-nn/kura.properties similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64-nn/kura.properties rename to kura/distrib/src/main/resources/aarch64-nn/kura.properties diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/kura_install.sh b/kura/distrib/src/main/resources/aarch64-nn/kura_install.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64-nn/kura_install.sh rename to kura/distrib/src/main/resources/aarch64-nn/kura_install.sh diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/kura_upgrade.sh b/kura/distrib/src/main/resources/aarch64-nn/kura_upgrade.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64-nn/kura_upgrade.sh rename to kura/distrib/src/main/resources/aarch64-nn/kura_upgrade.sh diff --git a/kura/distrib/src/main/resources/generic-aarch64-nn/log4j.xml b/kura/distrib/src/main/resources/aarch64-nn/log4j.xml similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64-nn/log4j.xml rename to kura/distrib/src/main/resources/aarch64-nn/log4j.xml diff --git a/kura/distrib/src/main/resources/generic-x86_64/deb/control/control b/kura/distrib/src/main/resources/aarch64/deb/control/control similarity index 75% rename from kura/distrib/src/main/resources/generic-x86_64/deb/control/control rename to kura/distrib/src/main/resources/aarch64/deb/control/control index 9eaa1b0d38b..adb2db42e77 100644 --- a/kura/distrib/src/main/resources/generic-x86_64/deb/control/control +++ b/kura/distrib/src/main/resources/aarch64/deb/control/control @@ -12,18 +12,20 @@ # Package: kura Version: [[project.version]] -Section: misc -Priority: low -Depends: openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, +Section: admin +Priority: optional +Depends: openjdk-17-jre-headless | temurin-17-jdk, setserial, zip, gzip, unzip, procps, usbutils, socat, gawk, sed, inetutils-telnet, polkit | policykit-1, ssh | openssh, openssl, busybox, openvpn, bluez | bluez5, bluez-hcidump | bluez5-noinst-tools, ntpdate, chrony, chronyc | chrony, cron | cronie, network-manager | networkmanager, bind9 | bind, dnsmasq | isc-dhcp-server, isc-dhcp-client | dhcpcd, iw, iptables, modemmanager, logrotate, gpsd, python3 -Architecture: all -Maintainer: support@eurotech.com -Description: Kura is an inclusive software framework that puts a layer +Architecture: arm64 +Maintainer: Eclipse Kura Developers +Homepage: https://eclipse-kura.github.io/kura/ +Description: Open-source IoT edge framework based on Java/OSGi + Kura is an inclusive software framework that puts a layer between the operating system and the customer application, with industry standard interfaces that shorten custom development time, simplified coding and software that can be easily ported from one hardware platform diff --git a/kura/distrib/src/main/resources/generic-aarch64/deb/control/postinst b/kura/distrib/src/main/resources/aarch64/deb/control/postinst similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/deb/control/postinst rename to kura/distrib/src/main/resources/aarch64/deb/control/postinst diff --git a/kura/distrib/src/main/resources/generic-aarch64/deb/control/preinst b/kura/distrib/src/main/resources/aarch64/deb/control/preinst similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/deb/control/preinst rename to kura/distrib/src/main/resources/aarch64/deb/control/preinst diff --git a/kura/distrib/src/main/resources/generic-aarch64/deb/control/prerm b/kura/distrib/src/main/resources/aarch64/deb/control/prerm similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/deb/control/prerm rename to kura/distrib/src/main/resources/aarch64/deb/control/prerm diff --git a/kura/distrib/src/main/resources/generic-aarch64/firewall.init b/kura/distrib/src/main/resources/aarch64/firewall.init similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/firewall.init rename to kura/distrib/src/main/resources/aarch64/firewall.init diff --git a/kura/distrib/src/main/resources/generic-aarch64/firewall.service b/kura/distrib/src/main/resources/aarch64/firewall.service similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/firewall.service rename to kura/distrib/src/main/resources/aarch64/firewall.service diff --git a/kura/distrib/src/main/resources/generic-aarch64/kura.logrotate b/kura/distrib/src/main/resources/aarch64/kura.logrotate similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/kura.logrotate rename to kura/distrib/src/main/resources/aarch64/kura.logrotate diff --git a/kura/distrib/src/main/resources/generic-aarch64/kura.properties b/kura/distrib/src/main/resources/aarch64/kura.properties similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/kura.properties rename to kura/distrib/src/main/resources/aarch64/kura.properties diff --git a/kura/distrib/src/main/resources/generic-aarch64/kura_install.sh b/kura/distrib/src/main/resources/aarch64/kura_install.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/kura_install.sh rename to kura/distrib/src/main/resources/aarch64/kura_install.sh diff --git a/kura/distrib/src/main/resources/generic-aarch64/kura_upgrade.sh b/kura/distrib/src/main/resources/aarch64/kura_upgrade.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/kura_upgrade.sh rename to kura/distrib/src/main/resources/aarch64/kura_upgrade.sh diff --git a/kura/distrib/src/main/resources/generic-aarch64/log4j.xml b/kura/distrib/src/main/resources/aarch64/log4j.xml similarity index 100% rename from kura/distrib/src/main/resources/generic-aarch64/log4j.xml rename to kura/distrib/src/main/resources/aarch64/log4j.xml diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/deb/control/control b/kura/distrib/src/main/resources/armhf-nn/deb/control/control similarity index 71% rename from kura/distrib/src/main/resources/generic-arm32-nn/deb/control/control rename to kura/distrib/src/main/resources/armhf-nn/deb/control/control index ecf8416ba32..2fdbc663318 100644 --- a/kura/distrib/src/main/resources/generic-arm32-nn/deb/control/control +++ b/kura/distrib/src/main/resources/armhf-nn/deb/control/control @@ -10,18 +10,20 @@ # Contributors: # Eurotech # -Package: kura +Package: kura-nn Version: [[project.version]] -Section: misc -Priority: low -Depends: openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, +Section: admin +Priority: optional +Depends: openjdk-17-jre-headless | temurin-17-jdk, setserial, zip, gzip, unzip, procps, usbutils, socat, gawk, sed, inetutils-telnet, polkit | policykit-1, ssh | openssh, openssl, busybox, openvpn, bluez | bluez5, bluez-hcidump | bluez5-noinst-tools, ntpdate, chrony, chronyc | chrony, cron | cronie, logrotate, gpsd, python3 -Architecture: all -Maintainer: support@eurotech.com -Description: Kura is an inclusive software framework that puts a layer +Architecture: armhf +Maintainer: Eclipse Kura Developers +Homepage: https://eclipse-kura.github.io/kura/ +Description: Open-source IoT edge framework based on Java/OSGi + Kura is an inclusive software framework that puts a layer between the operating system and the customer application, with industry standard interfaces that shorten custom development time, simplified coding and software that can be easily ported from one hardware platform diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/deb/control/postinst b/kura/distrib/src/main/resources/armhf-nn/deb/control/postinst similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32-nn/deb/control/postinst rename to kura/distrib/src/main/resources/armhf-nn/deb/control/postinst diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/deb/control/preinst b/kura/distrib/src/main/resources/armhf-nn/deb/control/preinst similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32-nn/deb/control/preinst rename to kura/distrib/src/main/resources/armhf-nn/deb/control/preinst diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/deb/control/prerm b/kura/distrib/src/main/resources/armhf-nn/deb/control/prerm similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32-nn/deb/control/prerm rename to kura/distrib/src/main/resources/armhf-nn/deb/control/prerm diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/kura.logrotate b/kura/distrib/src/main/resources/armhf-nn/kura.logrotate similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32-nn/kura.logrotate rename to kura/distrib/src/main/resources/armhf-nn/kura.logrotate diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/kura.properties b/kura/distrib/src/main/resources/armhf-nn/kura.properties similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32-nn/kura.properties rename to kura/distrib/src/main/resources/armhf-nn/kura.properties diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/kura_install.sh b/kura/distrib/src/main/resources/armhf-nn/kura_install.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32-nn/kura_install.sh rename to kura/distrib/src/main/resources/armhf-nn/kura_install.sh diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/kura_upgrade.sh b/kura/distrib/src/main/resources/armhf-nn/kura_upgrade.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32-nn/kura_upgrade.sh rename to kura/distrib/src/main/resources/armhf-nn/kura_upgrade.sh diff --git a/kura/distrib/src/main/resources/generic-arm32-nn/log4j.xml b/kura/distrib/src/main/resources/armhf-nn/log4j.xml similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32-nn/log4j.xml rename to kura/distrib/src/main/resources/armhf-nn/log4j.xml diff --git a/kura/distrib/src/main/resources/generic-arm32/deb/control/control b/kura/distrib/src/main/resources/armhf/deb/control/control similarity index 75% rename from kura/distrib/src/main/resources/generic-arm32/deb/control/control rename to kura/distrib/src/main/resources/armhf/deb/control/control index 74cf93815b0..fa74d63575d 100644 --- a/kura/distrib/src/main/resources/generic-arm32/deb/control/control +++ b/kura/distrib/src/main/resources/armhf/deb/control/control @@ -12,18 +12,20 @@ # Package: kura Version: [[project.version]] -Section: misc -Priority: low -Depends: openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, +Section: admin +Priority: optional +Depends: openjdk-17-jre-headless | temurin-17-jdk, setserial, zip, gzip, unzip, procps, usbutils, socat, gawk, sed, inetutils-telnet, polkit | policykit-1, ssh | openssh, openssl, busybox, openvpn, bluez | bluez5, bluez-hcidump | bluez5-noinst-tools, ntpdate, chrony, chronyc | chrony, cron | cronie, network-manager | networkmanager, bind9 | bind, dnsmasq | isc-dhcp-server, isc-dhcp-client | dhcpcd, iw, iptables, modemmanager, logrotate, gpsd, python3 -Architecture: all -Maintainer: support@eurotech.com -Description: Kura is an inclusive software framework that puts a layer +Architecture: armhf +Maintainer: Eclipse Kura Developers +Homepage: https://eclipse-kura.github.io/kura/ +Description: Open-source IoT edge framework based on Java/OSGi + Kura is an inclusive software framework that puts a layer between the operating system and the customer application, with industry standard interfaces that shorten custom development time, simplified coding and software that can be easily ported from one hardware platform diff --git a/kura/distrib/src/main/resources/generic-arm32/deb/control/postinst b/kura/distrib/src/main/resources/armhf/deb/control/postinst similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/deb/control/postinst rename to kura/distrib/src/main/resources/armhf/deb/control/postinst diff --git a/kura/distrib/src/main/resources/generic-arm32/deb/control/preinst b/kura/distrib/src/main/resources/armhf/deb/control/preinst similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/deb/control/preinst rename to kura/distrib/src/main/resources/armhf/deb/control/preinst diff --git a/kura/distrib/src/main/resources/generic-arm32/deb/control/prerm b/kura/distrib/src/main/resources/armhf/deb/control/prerm similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/deb/control/prerm rename to kura/distrib/src/main/resources/armhf/deb/control/prerm diff --git a/kura/distrib/src/main/resources/generic-arm32/firewall.init b/kura/distrib/src/main/resources/armhf/firewall.init similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/firewall.init rename to kura/distrib/src/main/resources/armhf/firewall.init diff --git a/kura/distrib/src/main/resources/generic-arm32/firewall.service b/kura/distrib/src/main/resources/armhf/firewall.service similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/firewall.service rename to kura/distrib/src/main/resources/armhf/firewall.service diff --git a/kura/distrib/src/main/resources/generic-arm32/kura.logrotate b/kura/distrib/src/main/resources/armhf/kura.logrotate similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/kura.logrotate rename to kura/distrib/src/main/resources/armhf/kura.logrotate diff --git a/kura/distrib/src/main/resources/generic-arm32/kura.properties b/kura/distrib/src/main/resources/armhf/kura.properties similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/kura.properties rename to kura/distrib/src/main/resources/armhf/kura.properties diff --git a/kura/distrib/src/main/resources/generic-arm32/kura_install.sh b/kura/distrib/src/main/resources/armhf/kura_install.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/kura_install.sh rename to kura/distrib/src/main/resources/armhf/kura_install.sh diff --git a/kura/distrib/src/main/resources/generic-arm32/kura_upgrade.sh b/kura/distrib/src/main/resources/armhf/kura_upgrade.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/kura_upgrade.sh rename to kura/distrib/src/main/resources/armhf/kura_upgrade.sh diff --git a/kura/distrib/src/main/resources/generic-arm32/log4j.xml b/kura/distrib/src/main/resources/armhf/log4j.xml similarity index 100% rename from kura/distrib/src/main/resources/generic-arm32/log4j.xml rename to kura/distrib/src/main/resources/armhf/log4j.xml diff --git a/kura/distrib/src/main/resources/docker-x86_64-nn/deb/control/control b/kura/distrib/src/main/resources/docker-x86_64-nn/deb/control/control index 17ac6fcdafc..904c79497f4 100644 --- a/kura/distrib/src/main/resources/docker-x86_64-nn/deb/control/control +++ b/kura/distrib/src/main/resources/docker-x86_64-nn/deb/control/control @@ -1,15 +1,29 @@ -Package: kura +# +# Copyright (c) 2024 Eurotech and/or its affiliates and others +# +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Eurotech +# +Package: kura-nn Version: [[project.version]] -Section: misc -Priority: low +Section: admin +Priority: optional Depends: dos2unix, unzip, telnet, bluez-hcidump, bluez, chrony, ntpdate, - openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, + openjdk-17-jre-headless | temurin-17-jdk, cron -Architecture: all -Maintainer: support@eurotech.com -Description: Kura is an inclusive software framework that puts a layer +Architecture: amd64 +Maintainer: Eclipse Kura Developers +Homepage: https://eclipse-kura.github.io/kura/ +Description: Open-source IoT edge framework based on Java/OSGi + Kura is an inclusive software framework that puts a layer between the operating system and the customer application, with industry standard interfaces that shorten custom development time, simplified coding and software that can be easily ported from one hardware platform diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/control b/kura/distrib/src/main/resources/x86_64-nn/deb/control/control similarity index 71% rename from kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/control rename to kura/distrib/src/main/resources/x86_64-nn/deb/control/control index cf60b26aabf..23952627e9a 100644 --- a/kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/control +++ b/kura/distrib/src/main/resources/x86_64-nn/deb/control/control @@ -10,18 +10,20 @@ # Contributors: # Eurotech # -Package: kura +Package: kura-nn Version: [[project.version]] -Section: misc -Priority: low -Depends: openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, +Section: admin +Priority: optional +Depends: openjdk-17-jre-headless | temurin-17-jdk, setserial, zip, gzip, unzip, procps, usbutils, socat, gawk, sed, inetutils-telnet, polkit | policykit-1, ssh | openssh, openssl, busybox, openvpn, bluez | bluez5, bluez-hcidump | bluez5-noinst-tools, ntpdate, chrony, chronyc | chrony, cron | cronie, logrotate, gpsd, python3 -Architecture: all -Maintainer: support@eurotech.com -Description: Kura is an inclusive software framework that puts a layer +Architecture: amd64 +Maintainer: Eclipse Kura Developers +Homepage: https://eclipse-kura.github.io/kura/ +Description: Open-source IoT edge framework based on Java/OSGi + Kura is an inclusive software framework that puts a layer between the operating system and the customer application, with industry standard interfaces that shorten custom development time, simplified coding and software that can be easily ported from one hardware platform diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/postinst b/kura/distrib/src/main/resources/x86_64-nn/deb/control/postinst similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/postinst rename to kura/distrib/src/main/resources/x86_64-nn/deb/control/postinst diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/preinst b/kura/distrib/src/main/resources/x86_64-nn/deb/control/preinst similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/preinst rename to kura/distrib/src/main/resources/x86_64-nn/deb/control/preinst diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/prerm b/kura/distrib/src/main/resources/x86_64-nn/deb/control/prerm similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64-nn/deb/control/prerm rename to kura/distrib/src/main/resources/x86_64-nn/deb/control/prerm diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/kura.logrotate b/kura/distrib/src/main/resources/x86_64-nn/kura.logrotate similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64-nn/kura.logrotate rename to kura/distrib/src/main/resources/x86_64-nn/kura.logrotate diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/kura.properties b/kura/distrib/src/main/resources/x86_64-nn/kura.properties similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64-nn/kura.properties rename to kura/distrib/src/main/resources/x86_64-nn/kura.properties diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/kura_install.sh b/kura/distrib/src/main/resources/x86_64-nn/kura_install.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64-nn/kura_install.sh rename to kura/distrib/src/main/resources/x86_64-nn/kura_install.sh diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/kura_upgrade.sh b/kura/distrib/src/main/resources/x86_64-nn/kura_upgrade.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64-nn/kura_upgrade.sh rename to kura/distrib/src/main/resources/x86_64-nn/kura_upgrade.sh diff --git a/kura/distrib/src/main/resources/generic-x86_64-nn/log4j.xml b/kura/distrib/src/main/resources/x86_64-nn/log4j.xml similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64-nn/log4j.xml rename to kura/distrib/src/main/resources/x86_64-nn/log4j.xml diff --git a/kura/distrib/src/main/resources/generic-aarch64/deb/control/control b/kura/distrib/src/main/resources/x86_64/deb/control/control similarity index 75% rename from kura/distrib/src/main/resources/generic-aarch64/deb/control/control rename to kura/distrib/src/main/resources/x86_64/deb/control/control index 9eaa1b0d38b..1d63e3c53ea 100644 --- a/kura/distrib/src/main/resources/generic-aarch64/deb/control/control +++ b/kura/distrib/src/main/resources/x86_64/deb/control/control @@ -12,18 +12,20 @@ # Package: kura Version: [[project.version]] -Section: misc -Priority: low -Depends: openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, +Section: admin +Priority: optional +Depends: openjdk-17-jre-headless | temurin-17-jdk, setserial, zip, gzip, unzip, procps, usbutils, socat, gawk, sed, inetutils-telnet, polkit | policykit-1, ssh | openssh, openssl, busybox, openvpn, bluez | bluez5, bluez-hcidump | bluez5-noinst-tools, ntpdate, chrony, chronyc | chrony, cron | cronie, network-manager | networkmanager, bind9 | bind, dnsmasq | isc-dhcp-server, isc-dhcp-client | dhcpcd, iw, iptables, modemmanager, logrotate, gpsd, python3 -Architecture: all -Maintainer: support@eurotech.com -Description: Kura is an inclusive software framework that puts a layer +Architecture: amd64 +Maintainer: Eclipse Kura Developers +Homepage: https://eclipse-kura.github.io/kura/ +Description: Open-source IoT edge framework based on Java/OSGi + Kura is an inclusive software framework that puts a layer between the operating system and the customer application, with industry standard interfaces that shorten custom development time, simplified coding and software that can be easily ported from one hardware platform diff --git a/kura/distrib/src/main/resources/generic-x86_64/deb/control/postinst b/kura/distrib/src/main/resources/x86_64/deb/control/postinst similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/deb/control/postinst rename to kura/distrib/src/main/resources/x86_64/deb/control/postinst diff --git a/kura/distrib/src/main/resources/generic-x86_64/deb/control/preinst b/kura/distrib/src/main/resources/x86_64/deb/control/preinst similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/deb/control/preinst rename to kura/distrib/src/main/resources/x86_64/deb/control/preinst diff --git a/kura/distrib/src/main/resources/generic-x86_64/deb/control/prerm b/kura/distrib/src/main/resources/x86_64/deb/control/prerm similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/deb/control/prerm rename to kura/distrib/src/main/resources/x86_64/deb/control/prerm diff --git a/kura/distrib/src/main/resources/generic-x86_64/firewall.init b/kura/distrib/src/main/resources/x86_64/firewall.init similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/firewall.init rename to kura/distrib/src/main/resources/x86_64/firewall.init diff --git a/kura/distrib/src/main/resources/generic-x86_64/firewall.service b/kura/distrib/src/main/resources/x86_64/firewall.service similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/firewall.service rename to kura/distrib/src/main/resources/x86_64/firewall.service diff --git a/kura/distrib/src/main/resources/generic-x86_64/kura.logrotate b/kura/distrib/src/main/resources/x86_64/kura.logrotate similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/kura.logrotate rename to kura/distrib/src/main/resources/x86_64/kura.logrotate diff --git a/kura/distrib/src/main/resources/generic-x86_64/kura.properties b/kura/distrib/src/main/resources/x86_64/kura.properties similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/kura.properties rename to kura/distrib/src/main/resources/x86_64/kura.properties diff --git a/kura/distrib/src/main/resources/generic-x86_64/kura_install.sh b/kura/distrib/src/main/resources/x86_64/kura_install.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/kura_install.sh rename to kura/distrib/src/main/resources/x86_64/kura_install.sh diff --git a/kura/distrib/src/main/resources/generic-x86_64/kura_upgrade.sh b/kura/distrib/src/main/resources/x86_64/kura_upgrade.sh similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/kura_upgrade.sh rename to kura/distrib/src/main/resources/x86_64/kura_upgrade.sh diff --git a/kura/distrib/src/main/resources/generic-x86_64/log4j.xml b/kura/distrib/src/main/resources/x86_64/log4j.xml similarity index 100% rename from kura/distrib/src/main/resources/generic-x86_64/log4j.xml rename to kura/distrib/src/main/resources/x86_64/log4j.xml