diff options
-rw-r--r-- | meta/classes/archiver.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 2d0bbfbd42..9d286224d6 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
@@ -473,7 +473,8 @@ def create_diff_gz(d, src_orig, src, ar_outdir): | |||
473 | 473 | ||
474 | def is_work_shared(d): | 474 | def is_work_shared(d): |
475 | sharedworkdir = os.path.join(d.getVar('TMPDIR'), 'work-shared') | 475 | sharedworkdir = os.path.join(d.getVar('TMPDIR'), 'work-shared') |
476 | return d.getVar('S').startswith(sharedworkdir) | 476 | sourcedir = os.path.realpath(d.getVar('S')) |
477 | return sourcedir.startswith(sharedworkdir) | ||
477 | 478 | ||
478 | # Run do_unpack and do_patch | 479 | # Run do_unpack and do_patch |
479 | python do_unpack_and_patch() { | 480 | python do_unpack_and_patch() { |