All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] podman: Fix QA error for invalid PACKAGECONFIG
@ 2025-04-09 15:06 Theodore A. Roth
  2025-04-09 20:53 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: Theodore A. Roth @ 2025-04-09 15:06 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Theodore A. Roth, Theodore A . Roth

The insane.bbclass now flags as errors when PACKAGECONFIG contains a
value that does not have a setting.

For example, setting a value like this:

    PACKAGECONFIG += "foo"

without something like this in the recipe:

    PACKAGECONFIG[foo] = "stuff"

will result in QA errors like the following:

    ERROR: podman-v5.4.1-r0 do_recipe_qa: QA Issue: podman:
           invalid PACKAGECONFIG(s): docker rootless [invalid-packageconfig]
    ERROR: podman-v5.4.1-r0 do_recipe_qa: Fatal QA errors were found, failing task.

Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
---
 recipes-containers/podman/podman_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index be85e512..9f886ed4 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -70,6 +70,9 @@ EXTRA_OEMAKE = " \
 # packageconfig, the podman package will rconfict with docker.
 PACKAGECONFIG ?= "docker"
 
+PACKAGECONFIG[docker] ?= ""
+PACKAGECONFIG[rootless] ?= ""
+
 do_compile() {
 	cd ${S}/src
 	rm -rf .gopath
-- 
2.34.1



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

end of thread, other threads:[~2025-04-09 21:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 15:06 [meta-virtualization][PATCH] podman: Fix QA error for invalid PACKAGECONFIG Theodore A. Roth
2025-04-09 20:53 ` Bruce Ashfield
2025-04-09 21:28   ` Theodore A. Roth

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.