diff options
author | Kai Kang <kai.kang@windriver.com> | 2021-11-19 15:06:12 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-11-28 16:16:10 -0800 |
commit | 05ee41d3a5c5e1f19d3457f208b2fb0edbe682d7 (patch) | |
tree | 30e4ba7e687c23ba7a98dddbe9a0c0cfc0bf7a98 | |
parent | 4c19c83ee84e3d45cea5a3b6eaebec912179441c (diff) | |
download | meta-security-05ee41d3a5c5e1f19d3457f208b2fb0edbe682d7.tar.gz |
apparmor: fix warning of remove operator combined with +=
Fix warning for apparmor:
| WARNING: /path/to/meta-security/recipes-mac/AppArmor/apparmor_3.0.1.bb:
| RDEPENDS:${PN}:remove += is not a recommended operator combination,
| please replace it.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-mac/AppArmor/apparmor_3.0.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-mac/AppArmor/apparmor_3.0.1.bb b/recipes-mac/AppArmor/apparmor_3.0.1.bb index 389e72a..818be15 100644 --- a/recipes-mac/AppArmor/apparmor_3.0.1.bb +++ b/recipes-mac/AppArmor/apparmor_3.0.1.bb | |||
@@ -168,7 +168,7 @@ RDEPENDS:${PN}:libc-glibc += "glibc-utils" | |||
168 | 168 | ||
169 | # Add coreutils and findutils only if sysvinit scripts are in use | 169 | # Add coreutils and findutils only if sysvinit scripts are in use |
170 | RDEPENDS:${PN} += "${@["coreutils findutils", ""][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'systemd')]} ${@bb.utils.contains('PACKAGECONFIG','python','python3-core python3-modules','', d)}" | 170 | RDEPENDS:${PN} += "${@["coreutils findutils", ""][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'systemd')]} ${@bb.utils.contains('PACKAGECONFIG','python','python3-core python3-modules','', d)}" |
171 | RDEPENDS:${PN}:remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" | 171 | RDEPENDS:${PN}:remove = "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" |
172 | RDEPENDS:${PN}-ptest += "perl coreutils dbus-lib bash" | 172 | RDEPENDS:${PN}-ptest += "perl coreutils dbus-lib bash" |
173 | 173 | ||
174 | INSANE_SKIP:${PN} = "ldflags" | 174 | INSANE_SKIP:${PN} = "ldflags" |