Skip to contentSkip to conversation

ARM: Headfull JVM added.

PATCH In review Daniel Hilst SellI 1 participant 2 messages Sep 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Headfull JVM added.

I've added the headful version of the JVM. Also, I'm suggesting a new way of fetching. Since Oracle forces it's users to go to its website and accept the aggrement, non-human fetching is aways hack and error prone. What I sugest is that the build system ask for the user to visit the website, download the package and put it on right place, if isn't already there.

---
 ...le-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb
recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb new file +21 -0
new file mode 100644
index 0000000..e3030a6
@@ -0,0 +1,21 @@
+PV_UPDATE = "60"
+BUILD_NUMBER = "19"
+
+require oracle-jse-ejre.inc
+
+#  ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headful-07_may_2014.tar.gz
+DL_FILE = "ejre-7u${PV_UPDATE}-fcs-b${BUILD_NUMBER}-linux-arm-vfp-hflt-client_headful-07_may_2014.tar.gz"
+SRC_URI = "http://download.oracle.com/otn/java/ejre/7u${PV_UPDATE}-b${BUILD_NUMBER}/${DL_FILE}"
+
+SRC_URI[md5sum] = "b72400960629e7403c4b579dada2a804"
+SRC_URI[sha256sum] = "c4a64be693e0e27ca95ffe3036c56156e3d75e07f620fd913308eb03cdf86779"
+
+do_fetch() {
+        if ! test -f "${DL_DIR}/${DL_FILE}"; then
+            echo "Please accept the License Agreement, download the ${DL_FILE} and put it on ${DL_DIR}"
+            echo "The download link can be found at http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/javase-embedded-downloads-2209751.html"
+            return 1
+        else
+            return 0
+        fi
+}
\ No newline at end of file
Signature · 1 line
2.1.0
#1 lore raw
Quoted 29 lines · Daniel Hilst SellI

I've added the headful version of the JVM. Also, I'm suggesting a new way of fetching. Since Oracle forces it's users to go to its website and accept the aggrement, non-human fetching is aways hack and error prone. What I sugest is that the build system ask for the user to visit the website, download the package and put it on right place, if isn't already there.

---
  ...le-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb | 21 +++++++++++++++++++++
  1 file changed, 21 insertions(+)

create mode 100644 recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb

recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb new file +12 -0
new file mode 100644
index 0000000..e3030a6
@@ -0,0 +1,21 @@
+PV_UPDATE = "60"
+BUILD_NUMBER = "19"
+
+require oracle-jse-ejre.inc
+
+#  ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headful-07_may_2014.tar.gz
+DL_FILE = "ejre-7u${PV_UPDATE}-fcs-b${BUILD_NUMBER}-linux-arm-vfp-hflt-client_headful-07_may_2014.tar.gz"
+SRC_URI = "http://download.oracle.com/otn/java/ejre/7u${PV_UPDATE}-b${BUILD_NUMBER}/${DL_FILE}"
+
+SRC_URI[md5sum] = "b72400960629e7403c4b579dada2a804"
+SRC_URI[sha256sum] = "c4a64be693e0e27ca95ffe3036c56156e3d75e07f620fd913308eb03cdf86779"
+

recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb line 21

Quoted 10 lines
recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb new file +9 -0
+do_fetch() {
+        if ! test -f "${DL_DIR}/${DL_FILE}"; then
+            echo "Please accept the License Agreement, download the ${DL_FILE} and put it on ${DL_DIR}"
+            echo "The download link can be found at http://www.oracle.com/technetwork/java/embedded/embedded-se/downloads/javase-embedded-downloads-2209751.html"
+            return 1
+        else
+            return 0
+        fi
+}
\ No newline at end of file

Sorry, I forgot to mention that this is for meta-oracle-java layer,

Cheers,