All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method
@ 2014-08-14 15:47 Maxin B. John
  2014-08-14 15:47 ` [meta-oracle-java][PATCH 2/2] README: Update Notes Maxin B. John
  2014-08-19 15:30 ` [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method Maxin B. John
  0 siblings, 2 replies; 4+ messages in thread
From: Maxin B. John @ 2014-08-14 15:47 UTC (permalink / raw
  To: yocto

Use custom FETCHCMD_wget to avoid manual downloading of Oracle Java packages.

Signed-off-by: Maxin B. John <maxin.john@enea.com>
---
 recipes-devtools/oracle-java/oracle-jse.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-devtools/oracle-java/oracle-jse.inc b/recipes-devtools/oracle-java/oracle-jse.inc
index 98069f4..3a4e20d 100644
--- a/recipes-devtools/oracle-java/oracle-jse.inc
+++ b/recipes-devtools/oracle-java/oracle-jse.inc
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "\
 	file://${WORKDIR}/${JDK_JRE}${PV}_${PV_UPDATE}/THIRDPARTYLICENSEREADME.txt;md5=c339b34e3da6673d2c5950d0f8808f8c \
 	"
 
+FETCHCMD_wget_append = " --header=Cookie:oraclelicense=a "
+
 # get the java update version in the resulting package
 PR =. "u${PV_UPDATE}"
 S = "${WORKDIR}"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-oracle-java][PATCH 2/2] README: Update Notes
  2014-08-14 15:47 [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method Maxin B. John
@ 2014-08-14 15:47 ` Maxin B. John
  2014-08-19 15:30 ` [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method Maxin B. John
  1 sibling, 0 replies; 4+ messages in thread
From: Maxin B. John @ 2014-08-14 15:47 UTC (permalink / raw
  To: yocto

1. Remove notes related to manual downloading of Oracle Java binaries.
2. Add notes about the temporary fix for installing Java packages.

Signed-off-by: Maxin B. John <maxin.john@enea.com>
---
 README | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/README b/README
index 7dea1ea..3f4e177 100644
--- a/README
+++ b/README
@@ -19,14 +19,14 @@ LICENSE_FLAGS_WHITELIST += "oracle_java"
 
 Notes
 =====
-The download URLs mentioned in the SRCURI of the oracle-java recipes
-may show fetch issues with the built in bitbake wget fetcher. This is caused
-by the pre-requirement of clicking the "accept license" button on the oracle
-download webpage. So if you see fetch issues for the oracle java recipes,
-then you can overcome the issue by opening the SRCURI links manually in a web
-browser, downloading the tarballs, and storing in the bitbake download
-location. And the bitbake download location is specified by DL_DIR variable
-in build configuration file (conf/local.conf)
+There are some known install problems for JRE packages due to dependencies
+reported by RPM package manager. Switching to DEB or IPK packaging temporarily
+fixes this.
+ie:
+PACKAGE_CLASSES = "package_deb"
+or
+PACKAGE_CLASSES = "package_ipk"
+in your 'local.conf' file
 
 Where to Send Patches
 =====================
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method
  2014-08-14 15:47 [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method Maxin B. John
  2014-08-14 15:47 ` [meta-oracle-java][PATCH 2/2] README: Update Notes Maxin B. John
@ 2014-08-19 15:30 ` Maxin B. John
  2014-08-19 16:53   ` Vladimir Redzhepov
  1 sibling, 1 reply; 4+ messages in thread
From: Maxin B. John @ 2014-08-19 15:30 UTC (permalink / raw
  To: yocto

Hi,

Gentle ping .. 
Could anyone review these, please ?

On Thu, Aug 14, 2014 at 05:47:31PM +0200, Maxin B. John wrote:
> Use custom FETCHCMD_wget to avoid manual downloading of Oracle Java packages.
> 
> Signed-off-by: Maxin B. John <maxin.john@enea.com>
> ---
>  recipes-devtools/oracle-java/oracle-jse.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-devtools/oracle-java/oracle-jse.inc b/recipes-devtools/oracle-java/oracle-jse.inc
> index 98069f4..3a4e20d 100644
> --- a/recipes-devtools/oracle-java/oracle-jse.inc
> +++ b/recipes-devtools/oracle-java/oracle-jse.inc
> @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "\
>  	file://${WORKDIR}/${JDK_JRE}${PV}_${PV_UPDATE}/THIRDPARTYLICENSEREADME.txt;md5=c339b34e3da6673d2c5950d0f8808f8c \
>  	"
>  
> +FETCHCMD_wget_append = " --header=Cookie:oraclelicense=a "
> +
>  # get the java update version in the resulting package
>  PR =. "u${PV_UPDATE}"
>  S = "${WORKDIR}"
> -- 
> 1.9.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method
  2014-08-19 15:30 ` [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method Maxin B. John
@ 2014-08-19 16:53   ` Vladimir Redzhepov
  0 siblings, 0 replies; 4+ messages in thread
From: Vladimir Redzhepov @ 2014-08-19 16:53 UTC (permalink / raw
  To: Maxin B. John, yocto@yoctoproject.org

Hi Maxin,

Looks good. 

-----Original Message-----
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Maxin B. John
Sent: Tuesday, August 19, 2014 6:30 PM
To: yocto@yoctoproject.org
Subject: Re: [yocto] [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method

Hi,

Gentle ping .. 
Could anyone review these, please ?

On Thu, Aug 14, 2014 at 05:47:31PM +0200, Maxin B. John wrote:
> Use custom FETCHCMD_wget to avoid manual downloading of Oracle Java packages.
> 
> Signed-off-by: Maxin B. John <maxin.john@enea.com>
> ---
>  recipes-devtools/oracle-java/oracle-jse.inc | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-devtools/oracle-java/oracle-jse.inc b/recipes-devtools/oracle-java/oracle-jse.inc
> index 98069f4..3a4e20d 100644
> --- a/recipes-devtools/oracle-java/oracle-jse.inc
> +++ b/recipes-devtools/oracle-java/oracle-jse.inc
> @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "\
>  	file://${WORKDIR}/${JDK_JRE}${PV}_${PV_UPDATE}/THIRDPARTYLICENSEREADME.txt;md5=c339b34e3da6673d2c5950d0f8808f8c \
>  	"
>  
> +FETCHCMD_wget_append = " --header=Cookie:oraclelicense=a "
> +
>  # get the java update version in the resulting package
>  PR =. "u${PV_UPDATE}"
>  S = "${WORKDIR}"
> -- 
> 1.9.1
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-19 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-14 15:47 [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method Maxin B. John
2014-08-14 15:47 ` [meta-oracle-java][PATCH 2/2] README: Update Notes Maxin B. John
2014-08-19 15:30 ` [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method Maxin B. John
2014-08-19 16:53   ` Vladimir Redzhepov

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.