[oe] [meta-java][PATCH] openjdk-8: fix rewrite QA warnings

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Dec 15 12:31:47 UTC 2015


On Sat, Dec 12, 2015 at 7:36 AM, Jens Rehsack <rehsack at gmail.com> wrote:
>
> Fix bitbake warnings from variable renaming like
>
>     Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjre-8 (    ${JRE_HOME}/bin/[a-z]*     ${JRE_HOME}/lib/[a-z]*     ${JRE_HOME}/LICENSE     ${JRE_HOME}/release ).
>
> It is caused by using FILES_${PN} and FILES_{JDKPN} or FILES_${JREPN},
> respectively. Moving FILES_{JDKPN} to openjdk-8_%.bb and FILES_${JREPN} to
> openjre-8_%.bb to allow consequently use FILES_${PN}.
>
> Signed-off-by: Jens Rehsack <sno at netbsd.org>

Looking at the proposed change, it seems it would be better to squash
the JDK and JRE installation to a single recipe and do the proper
split using the packaging.

Do you think this is reasonable?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-devel mailing list