Commit 029ee002 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 bcbbf493 ]

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 8d9cc7f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment