* Creating an ejre receipe
@ 2011-10-25 19:23 itodroid
2011-10-25 19:37 ` Phil Blundell
2011-10-26 8:06 ` Jaap de Jong
0 siblings, 2 replies; 4+ messages in thread
From: itodroid @ 2011-10-25 19:23 UTC (permalink / raw)
To: openembedded-devel
Greetings all. I'm not sure of the frequency of posting to this list, but I
thought I would ask all of you a question regarding creating a recipe for
Oracle/Sun's embedded JRE. I can't seem to figure out the syntax needed to
create an appropriate recipe for automatically including the ejre in my
image.
Everytime I try to bitbake, my deployment packet (ipk) is < 1000 bytes. In
other words, I think its empty. The recipe should simply untar the .tar.gz
file and put it into a format that can be distributed into the sysroot (I'm
picking /usr/java for its destination). I'd appreciate any
feedback/comments/fixes to the following:
DESCRIPTION = "Oracle/Sun Embedded JRE"
PV = "1.6.0"
PR = "27"
SRC_URI =
"file://ejre-1_6_0_27-fcs-b07-linux-arm-vfp-eabi-headless-18_jul_2011.tar.gz
"
S = "${WORKDIR}"
SRC_URI[md5sum]="b30175c5168e1df394bc79474583f2a3"
SRC_URI[sha256sum]="d8b02bd16c95435d9c460cea060bc10b6eda00a2e8864d6412074903
dd73243c"
do_compile() {
}
do_install() {
install -d ${D}/usr/java
cp -R ${S}/ejre${PV}_${PR}/* ${D}/usr/java
}
do_qa_staging() {
}
do_package_qa() {
}
FILES_${PN} = " \
${D}/usr/java/* \
"
PACKAGE = ${PN}
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Creating an ejre receipe
2011-10-25 19:23 Creating an ejre receipe itodroid
@ 2011-10-25 19:37 ` Phil Blundell
2011-10-26 8:06 ` Jaap de Jong
1 sibling, 0 replies; 4+ messages in thread
From: Phil Blundell @ 2011-10-25 19:37 UTC (permalink / raw)
To: openembedded-devel
On Tue, 2011-10-25 at 12:23 -0700, itodroid wrote:
> FILES_${PN} = " \
> ${D}/usr/java/* \
> "
That's probably your issue. Try removing that ${D} and see if your
situation improves.
p.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Creating an ejre receipe
2011-10-25 19:23 Creating an ejre receipe itodroid
2011-10-25 19:37 ` Phil Blundell
@ 2011-10-26 8:06 ` Jaap de Jong
2011-10-27 15:31 ` itodroid
1 sibling, 1 reply; 4+ messages in thread
From: Jaap de Jong @ 2011-10-26 8:06 UTC (permalink / raw)
To: openembedded-devel
I added a few lines for mine version
# no gnu_hash in any file, so skip QA...
INSANE_SKIP_${PN} = True
inherit update-alternatives
ALTERNATIVE_NAME = "java"
ALTERNATIVE_PATH = "${libdir}/jvm/java-6-sun/jre/bin/java"
ALTERNATIVE_PRIORITY = "4"
On 10/25/2011 09:23 PM, itodroid wrote:
> Greetings all. I'm not sure of the frequency of posting to this list, but I
> thought I would ask all of you a question regarding creating a recipe for
> Oracle/Sun's embedded JRE. I can't seem to figure out the syntax needed to
> create an appropriate recipe for automatically including the ejre in my
> image.
>
> Everytime I try to bitbake, my deployment packet (ipk) is< 1000 bytes. In
> other words, I think its empty. The recipe should simply untar the .tar.gz
> file and put it into a format that can be distributed into the sysroot (I'm
> picking /usr/java for its destination). I'd appreciate any
> feedback/comments/fixes to the following:
>
> DESCRIPTION = "Oracle/Sun Embedded JRE"
> PV = "1.6.0"
> PR = "27"
> SRC_URI =
> "file://ejre-1_6_0_27-fcs-b07-linux-arm-vfp-eabi-headless-18_jul_2011.tar.gz
> "
>
> S = "${WORKDIR}"
>
> SRC_URI[md5sum]="b30175c5168e1df394bc79474583f2a3"
> SRC_URI[sha256sum]="d8b02bd16c95435d9c460cea060bc10b6eda00a2e8864d6412074903
> dd73243c"
>
> do_compile() {
> }
>
> do_install() {
> install -d ${D}/usr/java
> cp -R ${S}/ejre${PV}_${PR}/* ${D}/usr/java
> }
>
> do_qa_staging() {
> }
>
> do_package_qa() {
> }
>
> FILES_${PN} = " \
> ${D}/usr/java/* \
> "
>
> PACKAGE = ${PN}
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Creating an ejre receipe
2011-10-26 8:06 ` Jaap de Jong
@ 2011-10-27 15:31 ` itodroid
0 siblings, 0 replies; 4+ messages in thread
From: itodroid @ 2011-10-27 15:31 UTC (permalink / raw)
To: openembedded-devel
Thanks to Phil Blundell and Jaap de Jeong for helping out with my ejre
recipe. It was indeed the ${D} in my FILES_${PN} variable.
-----Original Message-----
From: openembedded-devel-bounces@lists.openembedded.org
[mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Jaap
de Jong
Sent: Wednesday, October 26, 2011 1:06 AM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Creating an ejre receipe
I added a few lines for mine version
# no gnu_hash in any file, so skip QA...
INSANE_SKIP_${PN} = True
inherit update-alternatives
ALTERNATIVE_NAME = "java"
ALTERNATIVE_PATH = "${libdir}/jvm/java-6-sun/jre/bin/java"
ALTERNATIVE_PRIORITY = "4"
On 10/25/2011 09:23 PM, itodroid wrote:
> Greetings all. I'm not sure of the frequency of posting to this list,
> but I thought I would ask all of you a question regarding creating a
> recipe for Oracle/Sun's embedded JRE. I can't seem to figure out the
> syntax needed to create an appropriate recipe for automatically
> including the ejre in my image.
>
> Everytime I try to bitbake, my deployment packet (ipk) is< 1000
> bytes. In other words, I think its empty. The recipe should simply
> untar the .tar.gz file and put it into a format that can be
> distributed into the sysroot (I'm picking /usr/java for its
> destination). I'd appreciate any feedback/comments/fixes to the
following:
>
> DESCRIPTION = "Oracle/Sun Embedded JRE"
> PV = "1.6.0"
> PR = "27"
> SRC_URI =
> "file://ejre-1_6_0_27-fcs-b07-linux-arm-vfp-eabi-headless-18_jul_2011.
> tar.gz
> "
>
> S = "${WORKDIR}"
>
> SRC_URI[md5sum]="b30175c5168e1df394bc79474583f2a3"
> SRC_URI[sha256sum]="d8b02bd16c95435d9c460cea060bc10b6eda00a2e8864d6412
> 074903
> dd73243c"
>
> do_compile() {
> }
>
> do_install() {
> install -d ${D}/usr/java
> cp -R ${S}/ejre${PV}_${PR}/* ${D}/usr/java }
>
> do_qa_staging() {
> }
>
> do_package_qa() {
> }
>
> FILES_${PN} = " \
> ${D}/usr/java/* \
> "
>
> PACKAGE = ${PN}
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-27 15:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-25 19:23 Creating an ejre receipe itodroid
2011-10-25 19:37 ` Phil Blundell
2011-10-26 8:06 ` Jaap de Jong
2011-10-27 15:31 ` itodroid
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.