Re: [meta-virtualization][PATCH] cdi: add container-device-interface commandline utility
Koen Kooi <[email protected]> Thu, 16 Apr 2026 13:29:34 +0200
| Newsgroups | org.yoctoproject.lists.meta-virtualization |
|---|---|
| Message-ID | <[email protected]> |
> Op 16 apr 2026, om 11:28 heeft Koen Kooi via lists.yoctoproject.org <[email protected]> het volgende geschreven: > > [...] > diff --git a/recipes-containers/cdi/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch b/recipes-containers/cdi/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch > new file mode 100644 > index 00000000..b5222ade > --- /dev/null > +++ b/recipes-containers/cdi/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch > @@ -0,0 +1,31 @@ > +From 53853d00a0d24fae8ebb975dea1b342c0b25a2c0 Mon Sep 17 00:00:00 2001 > +From: Koen Kooi <[email protected]> > +Date: Tue, 14 Apr 2026 13:45:45 +0200 > +Subject: [PATCH] makefile: add GOBUILDFLAGS to go build call > + > +We may need to specify things like -trimpath, so add $(GOBUILDFLAGS) > +to allow them to be passed from the recipe to the Makefile. > + > +Upstream-Status: Inappropriate [embedded specific] Replying to myself here, sorry about that. Jose pointed out that the above Makefile patch might actually have a chance upstream, so I changed it a bit and sent it upstream: https://github.com/cncf-tags/container-device-interface/pull/313 If that gets accepted I'll rework the recipe to make use of GO_EXTRAFLAGS. For the time being, it has no impact on this patch to meta-virtualization. regards, Koen