diff options
author | Robert Berger <robert.berger@ReliableEmbeddedSystems.com> | 2020-05-09 12:50:10 +0300 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2020-06-10 09:41:47 +0200 |
commit | b8e62679d99f57a5af4f2c59ac36bea5c7087d4f (patch) | |
tree | 3d05483f48ec88da5a4ea345f04de3c30fba5b73 /recipes-core/openjdk/openjdk-8-native.inc | |
parent | e31e8b593ffab2ce0f806666efbe1553e55f8229 (diff) | |
download | meta-java-b8e62679d99f57a5af4f2c59ac36bea5c7087d4f.tar.gz |
WORKDIR and ARCHIVER_WORKDIR support
do_unpack_extract_submodules was called via postfuncs[do_unpack].
This breaks the build when the archiver.bbclass is used in a way
where do_unpack_and_patch is called by it. In this mode the archiver
class modifies WORKDIR, S, B,... and those modifications are lost
via postfuncs.
In order to pick up WORKDIR, S, B,... (potentially modified by
archiver.bbclass) do_patch_prepend is used instead of pre/postfuncs
and calls do_unpack_extract_submodules now.
Without this patch the build will break when you add this to local.conf:
INHERIT += "archiver"
ARCHIVER_MODE[src] = "original"
ARCHIVER_MODE[diff] = "1"
ARCHIVER_MODE[dumpdata] = "1"
ARCHIVER_MODE[recipe] = "1"
COPYLEFT_LICENSE_INCLUDE = "GPL* LGPL*"
Signed-off-by: Robert Berger <robert.berger@ReliableEmbeddedSystems.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-native.inc')
0 files changed, 0 insertions, 0 deletions