diff options
Diffstat (limited to 'meta/classes/archiver.bbclass')
-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) |