Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Max Krummenacher" <max.oss.09@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Max Krummenacher <max.krummenacher@toradex.com>,
	Martin Jansa <Martin.Jansa@gmail.com>
Subject: [OE-core][Patch 1/2] kernel-yocto.bbclass: set +e in do_configme
Date: Fri, 10 Jul 2020 11:05:13 +0200	[thread overview]
Message-ID: <20200710090514.440-1-max.krummenacher@toradex.com> (raw)

The script test the error code to give usefull debug output.
Aborting right after the failing process prevents that output.

This partly reverts commit ec281a948a ("kernel-yocto.bbclass:
do_kernel_configme: don't use +errexit, merge_config_build.log
and fail when /.config wasn't created")

Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
 meta/classes/kernel-yocto.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 54a1a1627a..7cedb05e93 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -338,6 +338,7 @@ do_kernel_configme[depends] += "bc-native:do_populate_sysroot bison-native:do_po
 do_kernel_configme[depends] += "kern-tools-native:do_populate_sysroot"
 do_kernel_configme[dirs] += "${S} ${B}"
 do_kernel_configme() {
+	set +e
 	# translate the kconfig_mode into something that merge_config.sh
 	# understands
 	case ${KCONFIG_MODE} in
-- 
2.20.1


             reply	other threads:[~2020-07-10  9:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10  9:05 Max Krummenacher [this message]
2020-07-10  9:05 ` [OE-core][Patch 2/2] kernel-yocto.bbclass: force creation of config.queue Max Krummenacher
2020-07-10 12:47   ` Bruce Ashfield
2020-07-10 13:21     ` Andrey Zhizhikin
2020-07-10 15:12       ` Max Krummenacher
2020-07-10 15:21         ` Bruce Ashfield
2020-07-10 15:28           ` Bruce Ashfield
2020-07-10 15:52             ` Max Krummenacher
2020-07-10 15:56               ` Bruce Ashfield
2020-07-10 18:19               ` Pierre-Jean Texier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200710090514.440-1-max.krummenacher@toradex.com \
    --to=max.oss.09@gmail.com \
    --cc=Martin.Jansa@gmail.com \
    --cc=max.krummenacher@toradex.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox