apparmor: fix warning of remove operator combined with +=
PATCH 1/1 apparmor: fix warning of remove operator combined with +=
From: Kai Kang <[email protected]>
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 <[email protected]>
--- recipes-mac/AppArmor/apparmor_3.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-mac/AppArmor/apparmor_3.0.1.bb +1 -1
@@ -168,7 +168,7 @@ RDEPENDS:${PN}:libc-glibc += "glibc-utils" # Add coreutils and findutils only if sysvinit scripts are in use RDEPENDS:${PN} += "${@["coreutils findutils", ""][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'systemd')]} ${@bb.utils.contains('PACKAGECONFIG','python','python3-core python3-modules','', d)}" -RDEPENDS:${PN}:remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" +RDEPENDS:${PN}:remove = "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" RDEPENDS:${PN}-ptest += "perl coreutils dbus-lib bash" INSANE_SKIP:${PN} = "ldflags"
Signature · 1 line
2.17.1
Quoted 7 lines · kai
From: Kai Kang <[email protected]>
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.
thanks,
merged.
Quoted 28 lines
Signed-off-by Kai Kang <[email protected]>--- recipes-mac/AppArmor/apparmor_3.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-mac/AppArmor/apparmor_3.0.1.bb +1
-2@@ -168,7 +168,7 @@ RDEPENDS:${PN}:libc-glibc += "glibc-utils" # Add coreutils and findutils only if sysvinit scripts are in use RDEPENDS:${PN} += "${@["coreutils findutils", ""][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'systemd')]} ${@bb.utils.contains('PACKAGECONFIG','python','python3-core python3-modules','', d)}" -RDEPENDS:${PN}:remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" +RDEPENDS:${PN}:remove = "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" RDEPENDS:${PN}-ptest += "perl coreutils dbus-lib bash" INSANE_SKIP:${PN} = "ldflags" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#55369): https://lists.yoctoproject.org/g/yocto/message/55369
Mute This Topic: https://lists.yoctoproject.org/mt/87162916/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-