Re: [PATCH] kbuild: builddeb: always make modules_install, to install modules.builtin*

From: Masahiro Yamada
Date: Sun Jun 25 2023 - 14:25:20 EST


On Fri, Jun 23, 2023 at 4:20 AM Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote:
>
> Even for a non-modular kernel, the kernel builds modules.builtin and
> modules.builtin.modinfo, with information about the built-in modules.
> Tools such as initramfs-tools need these files to build a working
> initramfs on some systems, such as those requiring firmware.
>
> Now that `make modules_install` works even in non-modular kernels and
> installs these files, unconditionally invoke it when building a Debian
> package.
>
> Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> ---


Applied to linux-kbuild. Thanks.

What I meant in my previous reply was
to remove "if is_enabled CONFIG_MODULES; then"

Anyway, I did it by myself in a follow-up patch.

https://lore.kernel.org/linux-kbuild/20230625181623.2473308-1-masahiroy@xxxxxxxxxx/T/#u





--
Best Regards
Masahiro Yamada