Files
linux/scripts/package
Matt Fleming 34d321f453 kbuild: deb-pkg: Don't fail if modules.order is missing
[ Upstream commit bcbbf493f2 ]

Kernels built without CONFIG_MODULES might still want to create -dbg deb
packages but install_linux_image_dbg() assumes modules.order always
exists. This obviously isn't true if no modules were built, so we should
skip reading modules.order in that case.

Fixes: 16c36f8864 ("kbuild: deb-pkg: use build ID instead of debug link for dbg package")
Signed-off-by: Matt Fleming <mfleming@cloudflare.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-05 14:03:08 +01:00
..
2024-07-24 19:26:44 +09:00