Skip to content
Commit bcbbf493 authored by Matt Fleming's avatar Matt Fleming Committed by Masahiro Yamada
Browse files

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



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>
parent dbefa1f3
Loading
Loading
Loading
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