generated from falcosecurity/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add builder for Flatcar #131
Merged
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
808be09
Add builder for Flatcar
jepio 9968981
Add 'flatcar' to completion targets
jepio 837b59f
docs: add entry for flatcar builder
jepio 83421f3
builder/flatcar: Drop requirement to provide '-flatcar' after kernel …
jepio 9227b42
builder/flatcar: override EXTRAVERSION in kernel Makefile
jepio 2755f6d
build/builder.Dockerfile: install dwarves/pahole into builder image
jepio 81d34f6
builder/flatcar: Add support for architecture argument
jepio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
builder/flatcar: override EXTRAVERSION in kernel Makefile
This is required to build Flatcar kernel compatible modules, as otherwise the modules have the wrong version magic and can't be probed. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
- Loading branch information
commit 9227b42e4c12e4065f44ff967988a39569bb6f02
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if these calls to
make oldconfig
andmodules_prepare
are necessary? I don't actually see them in any of the other builders, but this may be required for flatcar?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied this part from the vanilla builder. Our own "kernel-devel" package equivalent is compiled against newer glibc, such that it doesn't work with the old debian based builder image. Here we're pulling generic kernel sources (we don't patch our sources) and need to "prepare" those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, thanks!