summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-24 17:01:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-26 11:29:45 +0100
commit93ec1e347cbba47cb35137047ac2ef8875a1c5d1 (patch)
tree4a677d414583daf49f8d029bea7a320bb3856751 /meta/classes/archiver.bbclass
parent388318706699250b7f48c5692ba81f0595b176bd (diff)
downloadpoky-93ec1e347cbba47cb35137047ac2ef8875a1c5d1.tar.gz
classes: Remove references to _remove in function names since this may become a bitbake keyword
There is a good chance we might want to support a bitbake operator "_remove" which works in a similar way to _append and _prepend. As such, we can't use those keywords in function or variable names. (From OE-Core rev: 491fde8cd3fd493f9fec2fd434fe1be547f66148) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r--meta/classes/archiver.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 3d75d8eba2..e42c419372 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -559,11 +559,11 @@ python do_archive_linux_yocto(){
559do_kernel_checkout[postfuncs] += "do_archive_linux_yocto " 559do_kernel_checkout[postfuncs] += "do_archive_linux_yocto "
560 560
561# remove tarball for sources, patches and logs after creating srpm. 561# remove tarball for sources, patches and logs after creating srpm.
562python do_remove_tarlist(){ 562python do_delete_tarlist(){
563 work_dir = d.getVar('WORKDIR', True) 563 work_dir = d.getVar('WORKDIR', True)
564 tarlist = os.path.join(work_dir, 'tar-package') 564 tarlist = os.path.join(work_dir, 'tar-package')
565 if os.path.exists(tarlist): 565 if os.path.exists(tarlist):
566 os.remove(tarlist) 566 os.remove(tarlist)
567} 567}
568do_remove_tarlist[deptask] = "do_archive_scripts_logs" 568do_delete_tarlist[deptask] = "do_archive_scripts_logs"
569do_package_write_rpm[postfuncs] += "do_remove_tarlist " 569do_package_write_rpm[postfuncs] += "do_delete_tarlist "