summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.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:25:59 +0100
commit491fde8cd3fd493f9fec2fd434fe1be547f66148 (patch)
tree9d4be788354ccb51e6d0213bca0a20a56653012d /meta/classes/rootfs_rpm.bbclass
parent6dc46834c6edaf358c18b26e4304bc9e7413eb60 (diff)
downloadopenembedded-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/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 30b52d4da2..6c68ac89fb 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -178,7 +178,7 @@ rootfs_install_packages() {
package_install_internal_rpm
}
-rootfs_remove_packages() {
+rootfs_uninstall_packages() {
rpm -e --nodeps --root=${IMAGE_ROOTFS} --dbpath=/var/lib/rpm\
--define='_cross_scriptlet_wrapper ${WORKDIR}/scriptlet_wrapper'\
--define='_tmppath /install/tmp' $@