diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-24 17:01:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 11:25:59 +0100 |
commit | 491fde8cd3fd493f9fec2fd434fe1be547f66148 (patch) | |
tree | 9d4be788354ccb51e6d0213bca0a20a56653012d /meta/classes/archiver.bbclass | |
parent | 6dc46834c6edaf358c18b26e4304bc9e7413eb60 (diff) | |
download | openembedded-core-491fde8cd3fd493f9fec2fd434fe1be547f66148.tar.gz openembedded-core-491fde8cd3fd493f9fec2fd434fe1be547f66148.tar.bz2 openembedded-core-491fde8cd3fd493f9fec2fd434fe1be547f66148.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r-- | meta/classes/archiver.bbclass | 6 |
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(){ do_kernel_checkout[postfuncs] += "do_archive_linux_yocto " # remove tarball for sources, patches and logs after creating srpm. -python do_remove_tarlist(){ +python do_delete_tarlist(){ work_dir = d.getVar('WORKDIR', True) tarlist = os.path.join(work_dir, 'tar-package') if os.path.exists(tarlist): os.remove(tarlist) } -do_remove_tarlist[deptask] = "do_archive_scripts_logs" -do_package_write_rpm[postfuncs] += "do_remove_tarlist " +do_delete_tarlist[deptask] = "do_archive_scripts_logs" +do_package_write_rpm[postfuncs] += "do_delete_tarlist " |