-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Switch to java 17 for runtime (#5118)
* feat: Switch to java 17 for runtime Signed-off-by: MMaiero <[email protected]> * chore: cleanup Signed-off-by: MMaiero <[email protected]> * fix: Updated debug directive Signed-off-by: MMaiero <[email protected]> --------- Signed-off-by: MMaiero <[email protected]>
- Loading branch information
Showing
13 changed files
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
kura/distrib/src/main/resources/docker-alpine-x86_64-nn/bin/dp-extract-name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
#!/usr/bin/env jjs | ||
#!/bin/bash | ||
|
||
print(new java.util.jar.JarFile(arguments[0]).manifest.mainAttributes.getValue("DeploymentPackage-SymbolicName")); | ||
jar_file="$1" | ||
property_name="DeploymentPackage-SymbolicName" | ||
|
||
jar xf "$jar_file" META-INF/MANIFEST.MF | ||
property_value=$(grep -oP "(?<=^$property_name: ).*" META-INF/MANIFEST.MF) | ||
|
||
rm META-INF/MANIFEST.MF | ||
|
||
echo "$property_value"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
kura/distrib/src/main/resources/docker-ubi8-x86_64-nn/bin/dp-extract-name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
#!/usr/bin/env jjs | ||
#!/bin/bash | ||
|
||
print(new java.util.jar.JarFile(arguments[0]).manifest.mainAttributes.getValue("DeploymentPackage-SymbolicName")); | ||
jar_file="$1" | ||
property_name="DeploymentPackage-SymbolicName" | ||
|
||
jar xf "$jar_file" META-INF/MANIFEST.MF | ||
property_value=$(grep -oP "(?<=^$property_name: ).*" META-INF/MANIFEST.MF) | ||
|
||
rm META-INF/MANIFEST.MF | ||
|
||
echo "$property_value"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ Priority: low | |
Depends: dos2unix, unzip, | ||
telnet, bluez-hcidump, | ||
bluez, chrony, ntpdate, | ||
openjdk-8-jre-headless | temurin-8-jdk | openjdk-17-jre-headless | temurin-17-jdk, | ||
openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, | ||
cron | ||
Architecture: all | ||
Maintainer: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ Priority: low | |
Depends: dos2unix, unzip, | ||
telnet, bluez-hcidump, | ||
bluez, chrony, ntpdate, | ||
openjdk-8-jre-headless | temurin-8-jdk | openjdk-17-jre-headless | temurin-17-jdk, | ||
openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, | ||
cron | ||
Architecture: all | ||
Maintainer: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ Depends: hostapd, isc-dhcp-server, iw, | |
bluez, wireless-tools, net-tools, | ||
iptables, chrony, ntpdate, | ||
ifupdown, | ||
openjdk-8-jre-headless | temurin-8-jdk | openjdk-17-jre-headless | temurin-17-jdk, | ||
openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, | ||
dmidecode, cron | ||
Architecture: all | ||
Maintainer: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ Section: misc | |
Priority: low | ||
Depends: dos2unix, unzip, telnet, | ||
bluez-hcidump, chrony, ntpdate, | ||
openjdk-8-jre-headless | temurin-8-jdk | openjdk-17-jre-headless | temurin-17-jdk, | ||
openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, | ||
cron | ||
Architecture: all | ||
Maintainer: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Depends: hostapd, isc-dhcp-server, iw, | |
ethtool, telnet, ifupdown, | ||
net-tools, iptables, chrony, | ||
dmidecode, ntpdate, | ||
openjdk-8-jre-headless | temurin-8-jdk | openjdk-17-jre-headless | temurin-17-jdk, | ||
openjdk-17-jre-headless | temurin-17-jdk | openjdk-8-jre-headless | temurin-8-jdk, | ||
cron | ||
Architecture: all | ||
Maintainer: [email protected] | ||
|