cdi: add container-device-interface commandline utility
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines
Op 16 apr 2026, om 11:28 heeft Koen Kooi via lists.yoctoproject.org <[email protected]> het volgende geschreven:
[...]
recipes-containers/cdi/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch new file +0
-0
recipes-containers/cdi/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch line 9
Quoted 9 lines
recipes-containers/cdi/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch new file +9
-0@@ -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