diff options
| -rw-r--r-- | meta/classes/archiver.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 093e2d95af..7c46cff91f 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
| @@ -441,9 +441,10 @@ python do_ar_recipe () { | |||
| 441 | incfile = include_re.match(line).group(1) | 441 | incfile = include_re.match(line).group(1) |
| 442 | if incfile: | 442 | if incfile: |
| 443 | incfile = d.expand(incfile) | 443 | incfile = d.expand(incfile) |
| 444 | if incfile: | ||
| 444 | incfile = bb.utils.which(bbpath, incfile) | 445 | incfile = bb.utils.which(bbpath, incfile) |
| 445 | if incfile: | 446 | if incfile: |
| 446 | shutil.copy(incfile, outdir) | 447 | shutil.copy(incfile, outdir) |
| 447 | 448 | ||
| 448 | create_tarball(d, outdir, 'recipe', d.getVar('ARCHIVER_OUTDIR')) | 449 | create_tarball(d, outdir, 'recipe', d.getVar('ARCHIVER_OUTDIR')) |
| 449 | bb.utils.remove(outdir, recurse=True) | 450 | bb.utils.remove(outdir, recurse=True) |
