Skip to content

Fix prebuilt tarball hardcoding CI build path#376

Merged
jserv merged 1 commit into
sysprog21:masterfrom
linesight:master
May 18, 2026
Merged

Fix prebuilt tarball hardcoding CI build path#376
jserv merged 1 commit into
sysprog21:masterfrom
linesight:master

Conversation

@linesight

@linesight linesight commented May 18, 2026

Copy link
Copy Markdown
Contributor

Rewrite the generated Makefile include directive to use a relative "source/Makefile" path instead of the absolute CI machine path, so out-of-tree module builds work on any machine.

Also include objtool in the tarball when CONFIG_OBJTOOL=y.

Fixes #375


Summary by cubic

Make the prebuilt kernel tarball portable by replacing the absolute Makefile include path with a relative source/Makefile. Also include objtool when CONFIG_OBJTOOL=y to support out-of-tree module builds (fixes #375).

Written for commit e0dfb3e. Summary will update on new commits. Review in cubic

Rewrite the generated Makefile include directive to use a relative
"source/Makefile" path instead of the absolute CI machine path, so
out-of-tree module builds work on any machine.

Also include objtool in the tarball when CONFIG_OBJTOOL=y.

Fixes sysprog21#375

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@jserv jserv merged commit 0263871 into sysprog21:master May 18, 2026
8 checks passed
@jserv

jserv commented May 18, 2026

Copy link
Copy Markdown
Contributor

Thank @linesight for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

devtools: prebuilt tarball has hardcoded /home/runner paths, breaks build-modules.sh

2 participants