[yocto] [meta-oracle-java][PATCH 1/2] oracle-java: update fetch method

Maxin B. John maxin.john at enea.com
Thu Aug 14 08:47:31 PDT 2014


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

Signed-off-by: Maxin B. John <maxin.john at 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




More information about the yocto mailing list