Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Fixes [YOCTO 15731]
@ 2025-02-12 15:54 Sven Kalmbach
  2025-02-12 15:55 ` Sven Kalmbach
  2025-02-12 16:01 ` Patchtest results for " patchtest
  0 siblings, 2 replies; 7+ messages in thread
From: Sven Kalmbach @ 2025-02-12 15:54 UTC (permalink / raw)
  To: openembedded-core; +Cc: Sven Kalmbach

Remove incorrectly escaped exit value, which causes error
handling logic not to run.

Signed-off-by: Sven Kalmbach <Sven.Kalmbach@loewensteinmedical.com>
---
 meta/classes-recipe/cml1.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass
index 0bf171a668..d18b008aec 100644
--- a/meta/classes-recipe/cml1.bbclass
+++ b/meta/classes-recipe/cml1.bbclass
@@ -58,7 +58,7 @@ python do_menuconfig() {
     # ensure that environment variables are overwritten with this tasks 'd' values
     d.appendVar("OE_TERMINAL_EXPORTS", " PKG_CONFIG_DIR PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR")

-    oe_terminal("sh -c 'make %s; if [ \\$? -ne 0 ]; then echo \"Command failed.\"; printf \"Press any key to continue... \"; read r; fi'" % d.getVar('KCONFIG_CONFIG_COMMAND'),
+    oe_terminal("sh -c 'make %s; if [ $? -ne 0 ]; then echo \"Command failed.\"; printf \"Press any key to continue... \"; read r; fi'" % d.getVar('KCONFIG_CONFIG_COMMAND'),
                 d.getVar('PN') + ' Configuration', d)

     try:


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] Fixes [YOCTO 15731]
@ 2025-02-12 14:53 Sven Kalmbach
  0 siblings, 0 replies; 7+ messages in thread
From: Sven Kalmbach @ 2025-02-12 14:53 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

From aa2176cbd1438b72f22129421edd8f7979330a56 Mon Sep 17 00:00:00 2001
From: Sven Kalmbach <Sven.Kalmbach@loewensteinmedical.com>
Date: Wed, 5 Feb 2025 16:11:33 +0100
Subject: [PATCH] Fixes [YOCTO 15731]

Remove incorrectly escaped exit value, which causes error
handling logic not to run.

Signed-off-by: Sven Kalmbach <Sven.Kalmbach@loewensteinmedical.com>
---
 meta/classes-recipe/cml1.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass
index 0bf171a668..d18b008aec 100644
--- a/meta/classes-recipe/cml1.bbclass
+++ b/meta/classes-recipe/cml1.bbclass
@@ -58,7 +58,7 @@ python do_menuconfig() {
     # ensure that environment variables are overwritten with this tasks 'd' values
     d.appendVar("OE_TERMINAL_EXPORTS", " PKG_CONFIG_DIR PKG_CONFIG_PATH PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR")

-    oe_terminal("sh -c 'make %s; if [ \\$? -ne 0 ]; then echo \"Command failed.\"; printf \"Press any key to continue... \"; read r; fi'" % d.getVar('KCONFIG_CONFIG_COMMAND'),
+    oe_terminal("sh -c 'make %s; if [ $? -ne 0 ]; then echo \"Command failed.\"; printf \"Press any key to continue... \"; read r; fi'" % d.getVar('KCONFIG_CONFIG_COMMAND'),
                 d.getVar('PN') + ' Configuration', d)

     try:


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

end of thread, other threads:[~2025-02-26  9:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12 15:54 [PATCH] Fixes [YOCTO 15731] Sven Kalmbach
2025-02-12 15:55 ` Sven Kalmbach
2025-02-12 16:08   ` [OE-core] " Alexander Kanavin
2025-02-12 16:15   ` Yoann Congal
2025-02-26  9:54     ` Sven Kalmbach
2025-02-12 16:01 ` Patchtest results for " patchtest
  -- strict thread matches above, loose matches on Subject: below --
2025-02-12 14:53 Sven Kalmbach

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