Message ID | PA4PR01MB7568995480429852AF9AF6B782FC2@PA4PR01MB7568.eurprd01.prod.exchangelabs.com |
---|---|
State | New |
Headers | show |
Series | Fixes [YOCTO 15731] | expand |
Please send the patch using git send-email, rather than copy pasting it into the message body. Alex On Wed, 12 Feb 2025 at 15:53, Sven Kalmbach via lists.openembedded.org <sven.kalmbach=loewensteinmedical.com@lists.openembedded.org> wrote: > > 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: > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#211245): https://lists.openembedded.org/g/openembedded-core/message/211245 > Mute This Topic: https://lists.openembedded.org/mt/111143606/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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: