All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig
@ 2025-05-26 21:07 Patrick Vogelaar
  2025-06-05  2:34 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Vogelaar @ 2025-05-26 21:07 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Patrick Vogelaar

Moving ca-certificates into a packageconfig allows using cni without
installing all the certificates.

Signed-off-by: Patrick Vogelaar <patrick.vogelaar@belden.com>
---
 recipes-networking/cni/cni_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes-networking/cni/cni_git.bb b/recipes-networking/cni/cni_git.bb
index b41b47cf..2cdbb169 100644
--- a/recipes-networking/cni/cni_git.bb
+++ b/recipes-networking/cni/cni_git.bb
@@ -89,10 +89,11 @@ do_install() {
     ln -sf ${libexecdir}/cni/ ${D}/opt/cni/bin
 }
 
+PACKAGECONFIG ?= "ca-certs"
+PACKAGECONFIG[ca-certs] = ",,,ca-certificates"
+
 FILES:${PN} += "${libexecdir}/cni/* /opt/cni/bin"
 
 INSANE_SKIP:${PN} += "ldflags already-stripped"
 
 deltask compile_ptest_base
-
-RDEPENDS:${PN} += " ca-certificates"
-- 
2.34.1


**********************************************************************
DISCLAIMER:
Privileged and/or Confidential information may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of the company are neither given nor endorsed by the company. Thank You.


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig
  2025-05-26 21:07 [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig Patrick Vogelaar
@ 2025-06-05  2:34 ` Bruce Ashfield
  2025-06-05  7:29   ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2025-06-05  2:34 UTC (permalink / raw)
  To: patrick.vogelaar; +Cc: meta-virtualization


Something mangled the patch in transit.

I had a reject, but fixed that up.

When I pushed the repo, the author was invalid (the mailing list was
referenced), I ammended the author so I could push it.

I know I've sent the instructions on how to fixup a send previously,
but can't for the life of me locate them right now.

Bruce

In message: [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig
on 26/05/2025 Patrick Vogelaar via B4 Relay via lists.yoctoproject.org wrote:

> Moving ca-certificates into a packageconfig allows using cni without
> installing all the certificates.
> 
> Signed-off-by: Patrick Vogelaar <patrick.vogelaar@belden.com>
> ---
>  recipes-networking/cni/cni_git.bb | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-networking/cni/cni_git.bb b/recipes-networking/cni/cni_git.bb
> index b41b47cf..2cdbb169 100644
> --- a/recipes-networking/cni/cni_git.bb
> +++ b/recipes-networking/cni/cni_git.bb
> @@ -89,10 +89,11 @@ do_install() {
>      ln -sf ${libexecdir}/cni/ ${D}/opt/cni/bin
>  }
>  
> +PACKAGECONFIG ?= "ca-certs"
> +PACKAGECONFIG[ca-certs] = ",,,ca-certificates"
> +
>  FILES:${PN} += "${libexecdir}/cni/* /opt/cni/bin"
>  
>  INSANE_SKIP:${PN} += "ldflags already-stripped"
>  
>  deltask compile_ptest_base
> -
> -RDEPENDS:${PN} += " ca-certificates"
> -- 
> 2.34.1
> 
> 
> **********************************************************************
> DISCLAIMER:
> Privileged and/or Confidential information may be contained in this message. If you are not the addressee of this message, you may not copy, use or deliver this message to anyone. In such event, you should destroy the message and kindly notify the sender by reply e-mail. It is understood that opinions or conclusions that do not relate to the official business of the company are neither given nor endorsed by the company. Thank You.

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9260): https://lists.yoctoproject.org/g/meta-virtualization/message/9260
> Mute This Topic: https://lists.yoctoproject.org/mt/113316120/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig
  2025-06-05  2:34 ` Bruce Ashfield
@ 2025-06-05  7:29   ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2025-06-05  7:29 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: patrick.vogelaar, meta-virtualization

On Thu, Jun 5, 2025 at 4:34 AM Bruce Ashfield via
lists.yoctoproject.org
<bruce.ashfield=gmail.com@lists.yoctoproject.org> wrote:
>
>
> Something mangled the patch in transit.
>
> I had a reject, but fixed that up.
>
> When I pushed the repo, the author was invalid (the mailing list was
> referenced), I ammended the author so I could push it.
>
> I know I've sent the instructions on how to fixup a send previously,
> but can't for the life of me locate them right now.

https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#fixing-your-from-identity


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-05  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26 21:07 [meta-virtualization][PATCH v2] cni: make ca-certificates a packageconfig Patrick Vogelaar
2025-06-05  2:34 ` Bruce Ashfield
2025-06-05  7:29   ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.