[yocto] [PATCH] ARM: Headfull JVM added.

Daniel Hilst Selli danielhilst at gmail.com
Tue Sep 23 13:19:43 PDT 2014


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,



More information about the yocto mailing list