Skip to content
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 support for loading modules in init script when makefile variable is set #2167

Merged

Conversation

katiewasnothere
Copy link
Contributor

@katiewasnothere katiewasnothere commented Jun 12, 2024

This PR adds back the support for loading kernel modules in the init script and adds a definition block around the code. This was necessary because some images we use do not have all the dependencies that kmod needs installed, causing the pods to fail to boot. To compile with this variable, you can run:

 make KMOD=1 bin/init

This PR is essentially this PR #2034 with the additional Makefile work and C macro.

is set.

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
@katiewasnothere katiewasnothere requested a review from a team as a code owner June 12, 2024 22:35
@katiewasnothere katiewasnothere merged commit 66f4e4d into microsoft:main Jun 23, 2024
19 checks passed
@katiewasnothere katiewasnothere deleted the kabaldau/add_back_kmod_init branch June 23, 2024 23:37
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.

None yet

3 participants