[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56209dbc-2dbe-4f52-a703-bcbd9ed3e712@gtucker.io>
Date: Thu, 22 Jan 2026 15:12:36 +0100
From: Guillaume Tucker <gtucker@...cker.io>
To: Nicolas Schier <nsc@...nel.org>
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
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.
Cheers,
Guillaume
Powered by blists - more mailing lists