[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aXkceKDeYxUGHLQh@levanger>
Date: Tue, 27 Jan 2026 21:13:44 +0100
From: Nicolas Schier <nsc@...nel.org>
To: Guillaume Tucker <gtucker@...cker.io>
Cc: Nathan Chancellor <nathan@...nel.org>, Miguel Ojeda <ojeda@...nel.org>,
David Gow <davidgow@...gle.com>,
Onur Özkan <work@...rozkan.dev>,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org, linux-kbuild@...r.kernel.org,
automated-testing@...ts.yoctoproject.org, workflows@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH v3 0/2] scripts: introduce containerized builds
On Thu, Jan 22, 2026 at 03:12:36PM +0100, Guillaume Tucker wrote:
> Hi Nicolas,
>
> On 20/01/2026 14:54, Nicolas Schier wrote:
> > Out-of-source builds do not work on my system with podman. If this is
> > expected, I think it would be great to mention that somewhere in the
> > documentation.
>
> The v4 now mentions this and also includes a trick using bind-mount:
>
> mkdir -p $HOME/tmp/my-kernel-build
> mkdir -p build
> sudo mount --bind $HOME/tmp/my-kernel-build build
> scripts/container -i kernel.org/gcc -- make mrproper
> scripts/container -i kernel.org/gcc -- make O=build defconfig
> scripts/container -i kernel.org/gcc -- make O=build -j$(nproc)
>
> Would this work for your use-case? Directory names are entirely
> arbitrary. It's not ideal but might be good enough as a workaround
> until this gets properly supported by the tool in a future version.
sorry for the long delay. Yes, thanks for the follow-up!
Kind regards,
Nicolas
Powered by blists - more mailing lists