Re: [PATCH RFC] kbuild: enable pipefail for commands where possible
From: Nathan Chancellor
Date: Thu Oct 15 2026 - 21:15:56 EST
On Thu, Oct 15, 2026 at 12:15:18PM +0200, Thomas Weißschuh wrote:
> It actually breaks modversions quite badly. And it is not obvious to debug
Welp, good to know I wasn't very far off with that review comment :)
> as that uses the pipe in an `if` statement which swallows the 141 silently.
Ah yeah, great point.
> Not sure what to do here.
>
> Maybe we just provide `try-pipefail` so users can opt-in where it makes sense.
Yeah, that seems like a much more reasonable starting point, as
something like this should likely be considered on a case-by-case basis
anyways.
--
Cheers,
Nathan