public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] insane: appendVarFlags must be preceded by a whitespace
@ 2026-03-27 23:09 Shotaro Uchida
  0 siblings, 0 replies; 2+ messages in thread
From: Shotaro Uchida @ 2026-03-27 23:09 UTC (permalink / raw)
  To: openembedded-core; +Cc: Shotaro Uchida

appendVarFlags is not automatically adding a whitespace, user must add a
white space before the value to be added. Current usage may break
INSANE_SKIP:${PN} vardeps flag value by adding QAPATHTEST functions
immediately without a whitespace. e.g. It will become something like
INSANE_SKIP:${PN}package_qa_check_shebang_size

Signed-off-by: Shotaro Uchida <suchida@uaudio.com>
---
 meta/classes-global/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 8bbe5bb19a..4ccc532282 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -1207,7 +1207,7 @@ python() {
     funcs = d.getVarFlags("QAPATHTEST")
     funcs.update(d.getVarFlags("QAPKGTEST"))
     funcs.update(d.getVarFlags("QARECIPETEST"))
-    d.appendVarFlag("do_package_qa", "vardeps", " ".join(funcs.values()))
+    d.appendVarFlag("do_package_qa", "vardeps", " {}".format(" ".join(funcs.values())))
 }
 
 SSTATETASKS += "do_package_qa"
-- 
2.51.0



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

* [PATCH] insane: appendVarFlags must be preceded by a whitespace
@ 2026-03-27 23:15 Shotaro Uchida
  0 siblings, 0 replies; 2+ messages in thread
From: Shotaro Uchida @ 2026-03-27 23:15 UTC (permalink / raw)
  To: openembedded-core; +Cc: Shotaro Uchida

appendVarFlags is not automatically adding a whitespace, user must add a
white space before the value to be added. Current usage may break
INSANE_SKIP:${PN} vardeps flag value by adding QAPATHTEST functions
immediately without a whitespace. e.g. It will become something like
INSANE_SKIP:${PN}package_qa_check_shebang_size

Signed-off-by: Shotaro Uchida <suchida@uaudio.com>
---
 meta/classes-global/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 8bbe5bb19a..4ccc532282 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -1207,7 +1207,7 @@ python() {
     funcs = d.getVarFlags("QAPATHTEST")
     funcs.update(d.getVarFlags("QAPKGTEST"))
     funcs.update(d.getVarFlags("QARECIPETEST"))
-    d.appendVarFlag("do_package_qa", "vardeps", " ".join(funcs.values()))
+    d.appendVarFlag("do_package_qa", "vardeps", " {}".format(" ".join(funcs.values())))
 }
 
 SSTATETASKS += "do_package_qa"
-- 
2.51.0



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

end of thread, other threads:[~2026-03-27 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-27 23:15 [PATCH] insane: appendVarFlags must be preceded by a whitespace Shotaro Uchida
  -- strict thread matches above, loose matches on Subject: below --
2026-03-27 23:09 Shotaro Uchida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox