]> code.ossystems Code Review - openembedded-core.git/commit
classes/archiver: Fix WORKDIR for shared source
authorJoshua Watt <jpewhacker@gmail.com>
Wed, 18 Sep 2019 21:21:32 +0000 (16:21 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Sep 2019 09:54:26 +0000 (10:54 +0100)
commite3caee8f86f2cca1d052f1f1b233018a3d4baa97
tree4e08875a9d2b4efaae6880e4cf22e91962fc25c4
parentc9f474e654434fec136315fb647c3c6c518d158d
classes/archiver: Fix WORKDIR for shared source

When archiving patched source, WORKDIR should only be changed to
${ARCHIVER_WORKDIR} if the recipe doesn't use a shared work directory.
This matches the behavior of do_unpack_and_patch for these recipes.

This fixes kernel recipes that set S = "${WORKDIR}/git"

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/archiver.bbclass