On 7/2/20 5:00 PM, Jeremy Puhlman wrote:
> From: Alexander Kanavin <[email protected]>
>
> The utilities from those packages (xargs, comm) are only used in sysvinit
> scripts, and so there is no need to pull them in when systemd is in use.
> Both are gpl3 licensed, so this is beneficial for builds where gpl3 is not
> allowed.
>
> Signed-off-by: Alexander Kanavin <[email protected]>
> Signed-off-by: Armin Kuster <[email protected]>

If I am not mistaken, this is in both master and dunfell.

http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/commit/?id=3018714159686e0ab2e4e5e6323a76b92aedc4ca
http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/commit/?h=dunfell&id=217fadb03da925757b236cb91ba9807e3b2bbd6e

- armin
> ---
>  recipes-mac/AppArmor/apparmor_2.13.4.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-mac/AppArmor/apparmor_2.13.4.bb 
> b/recipes-mac/AppArmor/apparmor_2.13.4.bb
> index d6f61b3..552cac7 100644
> --- a/recipes-mac/AppArmor/apparmor_2.13.4.bb
> +++ b/recipes-mac/AppArmor/apparmor_2.13.4.bb
> @@ -191,7 +191,8 @@ PACKAGES += "mod-${PN}"
>  FILES_${PN} += "/lib/apparmor/ ${sysconfdir}/apparmor 
> ${PYTHON_SITEPACKAGES_DIR}"
>  FILES_mod-${PN} = "${libdir}/apache2/modules/*"
>  
> -RDEPENDS_${PN} +=  "coreutils findutils 
> ${@bb.utils.contains('PACKAGECONFIG','python','python3-core 
> python3-modules','', d)}"
> +# 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}-ptest += "perl coreutils dbus-lib bash"
>  
>
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49841): https://lists.yoctoproject.org/g/yocto/message/49841
Mute This Topic: https://lists.yoctoproject.org/mt/75270616/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to