Skip to content
Snippets Groups Projects
Commit 34d321f4 authored by Matt Fleming's avatar Matt Fleming Committed by Greg Kroah-Hartman
Browse files

kbuild: deb-pkg: Don't fail if modules.order is missing


[ Upstream commit bcbbf493f2fa6fa1f0832f6b5b4c80a65de242d6 ]

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: 16c36f88 ("kbuild: deb-pkg: use build ID instead of debug link for dbg package")
Signed-off-by: default avatarMatt Fleming <mfleming@cloudflare.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 48dd6c71
No related branches found
No related tags found
1 merge request!176🤖 Sync Bot: Update v6.12-ktn to Latest Stable Kernel (v6.12.4)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment