Skip to content

Conversation

dcantah
Copy link
Member

@dcantah dcantah commented Sep 25, 2025

Fixes #296

Today the kernel subdirectory is somewhat useless. The dockerfile we had tried to use an image that isn't actually on ghcr, so everything would kind of just crap out. This change swaps things so that we build a local image that has all the bits needed to compile the kernel, and then uses that image to build the resulting kernel and plop it in the current working directory. This change does add a reliance on container being installed however, but for folks that need to build a custom kernel this doesn't seem like too much of an issue to me.

Today the kernel subdirectory is somewhat useless. The dockerfile
we had tried to use an image that isn't actually on ghcr, so
everything would kind of just crap out. This change swaps things
so that we build a local image that has all the bits needed to
compile the kernel, and then uses that image to build the resulting
kernel and plop it in the current working directory. This change
does add a reliance on `container` being installed however, but
for folks that need to build a custom kernel this doesn't seem
like too much of an issue to me.
Copy link
Contributor

@jglogan jglogan left a comment

Choose a reason for hiding this comment

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

I can follow the docs and build a kernel, as advertised.

@dcantah dcantah merged commit 28892cf into apple:main Oct 1, 2025
3 of 4 checks passed
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.

[Bug]: cannot get make to succeed in the kernel/ folder

2 participants