summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r--meta/classes/archiver.bbclass13
1 files changed, 1 insertions, 12 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 43238272c5..ed07b2edb8 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -75,10 +75,7 @@ def tar_filter(d):
75 """ 75 """
76 if d.getVar('FILTER', True) == "yes": 76 if d.getVar('FILTER', True) == "yes":
77 included, reason = copyleft_should_include(d) 77 included, reason = copyleft_should_include(d)
78 if not included: 78 return not included
79 return False
80 else:
81 return True
82 else: 79 else:
83 return False 80 return False
84 81
@@ -400,8 +397,6 @@ def archive_sources_patches(d, stage_name):
400 import shutil 397 import shutil
401 398
402 check_archiving_type(d) 399 check_archiving_type(d)
403 if not_tarball(d) or tar_filter(d):
404 return
405 400
406 source_tar_name = archive_sources(d, stage_name) 401 source_tar_name = archive_sources(d, stage_name)
407 if stage_name == "prepatch": 402 if stage_name == "prepatch":
@@ -431,8 +426,6 @@ def archive_scripts_logs(d):
431 """ 426 """
432 import shutil 427 import shutil
433 428
434 if tar_filter(d):
435 return
436 work_dir = d.getVar('WORKDIR', True) 429 work_dir = d.getVar('WORKDIR', True)
437 temp_dir = os.path.join(work_dir, 'temp') 430 temp_dir = os.path.join(work_dir, 'temp')
438 source_archive_log_with_scripts = d.getVar('SOURCE_ARCHIVE_LOG_WITH_SCRIPTS', True) 431 source_archive_log_with_scripts = d.getVar('SOURCE_ARCHIVE_LOG_WITH_SCRIPTS', True)
@@ -459,8 +452,6 @@ def dumpdata(d):
459 kinds of variables and functions when running a task 452 kinds of variables and functions when running a task
460 """ 453 """
461 454
462 if tar_filter(d):
463 return
464 workdir = bb.data.getVar('WORKDIR', d, 1) 455 workdir = bb.data.getVar('WORKDIR', d, 1)
465 distro = bb.data.getVar('DISTRO', d, 1) 456 distro = bb.data.getVar('DISTRO', d, 1)
466 s = d.getVar('S', True) 457 s = d.getVar('S', True)
@@ -491,8 +482,6 @@ def create_diff_gz(d):
491 import shutil 482 import shutil
492 import subprocess 483 import subprocess
493 484
494 if tar_filter(d):
495 return
496 work_dir = d.getVar('WORKDIR', True) 485 work_dir = d.getVar('WORKDIR', True)
497 exclude_from = d.getVar('ARCHIVE_EXCLUDE_FROM', True).split() 486 exclude_from = d.getVar('ARCHIVE_EXCLUDE_FROM', True).split()
498 pf = d.getVar('PF', True) 487 pf = d.getVar('PF', True)