Hi Nicolas,

On 27/01/2026 9:13 pm, Nicolas Schier wrote:
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!

Great!  Thank you for confirming.  It's now in linux-next.

Cheers,
Guillaume



Reply via email to