On 5/6/26 18:07, Louis Rannou via lists.openembedded.org wrote:
> From: Louis Rannou <[email protected]>
> 
> The dependency to bash is only required for dns-updown scripts. As bash is
> under the GPLv3 license, it might be preferred to exclude it.
> 
> Signed-off-by: Louis Rannou <[email protected]>
> ---
>  meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb 
> b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb
> index 0cbe4641cd..d967a0dc12 100644
> --- a/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb
> +++ b/meta-networking/recipes-support/openvpn/openvpn_2.7.0.bb
> @@ -47,7 +47,7 @@ PACKAGECONFIG[iproute2] = 
> "--enable-iproute2,,iproute2,iproute2-ip"
>  PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
>  PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
>  
> -RDEPENDS:${PN}:append = " bash"
> +RRECOMMENDS:${PN}:append = " bash"


In case bash is excluded (with PACKAGE_EXCLUDE, INCOMPATIBLE_LICENSE,
BAD_RECOMMENDATIONS...) I would expect this change to throw an error
still, the latest during package QA, when it scans the scripts for
missing dependencies - because the dependency itself is still present.
Does it not fail those checks?

As an alternative, I wonder if it would make sense to install this
dns-updown script to a separate package, and make that depend on bash only.



>  RDEPENDS:${PN}-ptest:append = " bash"
>  
>  do_install:append() {
> 
> ---
> base-commit: 420222862f5a6d95023b8f5f3b7e1808b2264ef9
> change-id: 20260506-bash-rr-5fd0820519e4
> 
> Best regards,
> 
> 
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#126810): 
https://lists.openembedded.org/g/openembedded-devel/message/126810
Mute This Topic: https://lists.openembedded.org/mt/119181734/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to