Actually abort if ptxd_make_log fails. Not only when awk fails.

Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>
---

On Sat, May 29, 2021 at 09:50:36PM +0200, Roland Hieber wrote:
> On Fri, May 28, 2021 at 07:09:26PM -0400, Jon Ringle wrote:
> > As I am updating bsp from 2020.10.0 to 2021.05.0, I noticed that the
> > collections now remove every package that I had previously marked to build
> > for the collection. How is this supposed to work now?
>·
> If one of those packages was gdb or gdbserver, that is probably only a
> follow-up error of your GDB version problem which you wrote about in
> your last thread.
>·
> (… I have the feeling that you're doing the same thing I was doing a few
> days ago, so let me try to answer your next question by giving you the
> hint that you forgot to replace KERNEL by KERNEL_PACKAGENAME when
> backporting commit 8484ecb7b244…)

And maybe try this first. It won't fix the underlying problem, but you
should get an error instread of the corrupted collection config.

Michael

 scripts/lib/ptxd_lib_colgen.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/lib/ptxd_lib_colgen.sh b/scripts/lib/ptxd_lib_colgen.sh
index e41e1913e64d..d3a4b0309114 100644
--- a/scripts/lib/ptxd_lib_colgen.sh
+++ b/scripts/lib/ptxd_lib_colgen.sh
@@ -76,6 +76,7 @@ ptxd_colgen_generate_sections()
        "${PTX_MAP_ALL}" \
        "${PTX_MAP_DEPS}" \
        -
+    check_pipe_status
 }
 
 
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to