* [PATCH] ARM: Headfull JVM added.
@ 2014-09-23 19:43 Daniel Hilst SellI
2014-09-23 20:19 ` Daniel Hilst Selli
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Hilst SellI @ 2014-09-23 19:43 UTC (permalink / raw)
To: yocto
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
diff --git a/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb b/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb
new file mode 100644
index 0000000..e3030a6
--- /dev/null
+++ b/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb
@@ -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
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ARM: Headfull JVM added.
2014-09-23 19:43 [PATCH] ARM: Headfull JVM added Daniel Hilst SellI
@ 2014-09-23 20:19 ` Daniel Hilst Selli
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Hilst Selli @ 2014-09-23 20:19 UTC (permalink / raw)
To: yocto@yoctoproject.org
On 09/23/2014 04:43 PM, Daniel Hilst SellI wrote:
> 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
>
> diff --git a/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb b/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb
> new file mode 100644
> index 0000000..e3030a6
> --- /dev/null
> +++ b/recipes-devtools/oracle-java/oracle-jse-ejre-arm-vfp-hflt-client-headful_1.7.0.bb
> @@ -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
Sorry, I forgot to mention that this is for meta-oracle-java layer,
Cheers,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-23 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 19:43 [PATCH] ARM: Headfull JVM added Daniel Hilst SellI
2014-09-23 20:19 ` Daniel Hilst Selli
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.