mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 08:48:45 +01:00
recipes: Make use of the new bb.utils.filter() function
(From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dec5650bc2
commit
254bfb1071
@@ -81,12 +81,12 @@ do_install_append() {
|
||||
# Disable zypper channel support
|
||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/smart/plugins/zyppchannelsync.py*
|
||||
|
||||
if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'rpm', 'rpm', '', d)}" ]; then
|
||||
if [ -z "${@bb.utils.filter('PACKAGECONFIG', 'rpm', d)}" ]; then
|
||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/smart/plugins/rpmdir.py*
|
||||
rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/smart/backends/rpm
|
||||
fi
|
||||
|
||||
if [ -z "${@bb.utils.contains('PACKAGECONFIG', 'qt4', 'qt4', '', d)}" ]; then
|
||||
if [ -z "${@bb.utils.filter('PACKAGECONFIG', 'qt4', d)}" ]; then
|
||||
rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/smart/interfaces/qt4
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user