WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit dbc00af

Browse files
committed
Ubuntu Resolute requires that there be a "scripts/mod/modpost" binary during header compilation
Signed-off-by: Patrick Yavitz <[email protected]>
1 parent 523fa2e commit dbc00af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/functions/compilation/kernel-debs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,10 @@ function kernel_package_callback_linux_headers() {
473473
[[ -f "${kernel_work_dir}/scripts/module.lds" ]] &&
474474
run_host_command_logged cp -v "${kernel_work_dir}/scripts/module.lds" "${headers_target_dir}/scripts/module.lds"
475475

476+
# Ubuntu Resolute requires that there be a "scripts/mod/modpost" binary during header compilation
477+
[[ -f "${kernel_work_dir}/scripts/mod/modpost" ]] &&
478+
run_host_command_logged cp -v "${kernel_work_dir}/scripts/mod/modpost" "${headers_target_dir}/scripts/mod/modpost"
479+
476480
if [[ "${DEBUG}" == "yes" ]]; then
477481
# Check that no binaries are included by now. Expensive... @TODO: remove after me make sure.
478482
display_alert "Checking for binaries in kernel headers" "${headers_target_dir}" "debug"

0 commit comments

Comments
 (0)