diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2012-11-22 11:15:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-24 15:12:37 +0000 |
commit | bc5bf6f0a001d8780957f96f54be661dbad8c751 (patch) | |
tree | afb7e1d7e8fab062df19588e0169198113f94eb4 | |
parent | 70e654af5d812c0eb69946e2936811dfe3456b81 (diff) | |
download | poky-bc5bf6f0a001d8780957f96f54be661dbad8c751.tar.gz |
archiver.bbclass: DISTRO is not required variable so deal with it
(From OE-Core rev: 3e7f411e6eb428f6d49a6f1a396e70a2bd1ceadc)
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/archiver.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 160a3aad52..a4a2158099 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
@@ -8,7 +8,6 @@ | |||
8 | 8 | ||
9 | ARCHIVE_EXCLUDE_FROM ?= ".pc autom4te.cache" | 9 | ARCHIVE_EXCLUDE_FROM ?= ".pc autom4te.cache" |
10 | ARCHIVE_TYPE ?= "tar srpm" | 10 | ARCHIVE_TYPE ?= "tar srpm" |
11 | DISTRO ?= "poky" | ||
12 | PATCHES_ARCHIVE_WITH_SERIES = 'yes' | 11 | PATCHES_ARCHIVE_WITH_SERIES = 'yes' |
13 | SOURCE_ARCHIVE_LOG_WITH_SCRIPTS ?= '${@d.getVarFlag('ARCHIVER_MODE', 'log_type') \ | 12 | SOURCE_ARCHIVE_LOG_WITH_SCRIPTS ?= '${@d.getVarFlag('ARCHIVER_MODE', 'log_type') \ |
14 | if d.getVarFlag('ARCHIVER_MODE', 'log_type') != 'none' else 'logs_with_scripts'}' | 13 | if d.getVarFlag('ARCHIVER_MODE', 'log_type') != 'none' else 'logs_with_scripts'}' |
@@ -491,7 +490,7 @@ def create_diff_gz(d): | |||
491 | f.close() | 490 | f.close() |
492 | 491 | ||
493 | s=d.getVar('S', True) | 492 | s=d.getVar('S', True) |
494 | distro = d.getVar('DISTRO',True) | 493 | distro = d.getVar('DISTRO',True) or "" |
495 | dest = s + '/' + distro + '/files' | 494 | dest = s + '/' + distro + '/files' |
496 | if not os.path.exists(dest): | 495 | if not os.path.exists(dest): |
497 | bb.mkdirhier(dest) | 496 | bb.mkdirhier(dest) |