[oe] [meta-java][PATCH v2 1/3] java-bootstrapping: Do not rely on hardcoded paths
Maxin B. John
maxin.john at intel.com
Fri Apr 29 10:22:16 UTC 2016
Hi,
On Fri, Apr 29, 2016 at 09:48:19AM +0300, Erkka Kääriä wrote:
> Various paths to files are hardcoded in either helper scripts or the
> resulting binaries (like path to Java class libraries). While this works
> well when using the files on the build machine, things start breaking
> down when the sstate gets shared between multiple workers in CI, as
> the paths between workers can differ.
>
> Instead of using these hardcoded paths, form the paths at runtime and pass them as parameters when required.
>
> Signed-off-by: Erkka Kääriä <erkka.kaaria at intel.com>
> ---
> ...cacao-1.6.1-do-not-rely-on-absolute-paths.patch | 41 ++++++++++++++++++++++
> recipes-core/cacao/cacao-initial-native_0.98.bb | 1 +
> recipes-core/cacao/cacao_1.6.1.bb | 21 ++++-------
> ...cacao-0.9.8-do-not-rely-on-absolute-paths.patch | 33 +++++++++++++++++
> recipes-core/ecj/ecj-bootstrap-native.bb | 8 ++++-
> recipes-core/ecj/ecj-initial-native.bb | 9 ++++-
> 6 files changed, 96 insertions(+), 17 deletions(-)
> create mode 100644 recipes-core/cacao/cacao-1.6.1/cacao-1.6.1-do-not-rely-on-absolute-paths.patch
> create mode 100644 recipes-core/cacao/files/cacao-0.9.8-do-not-rely-on-absolute-paths.patch
Pushed to master. Thank you!
Best Regards,
Maxin
More information about the Openembedded-devel
mailing list