Suddenly, blank screen at boot!

Building the system image does not build a kernel from source. The ingredients to the system image build process are existing Debian repositories, one of them the MNT repository.

Yes. I wrote that script and I’m the author of the software that the script uses to create the system (mmdebstrap). So you can ask me anything about this topic. There are multiple ways to do what you want:

  1. add another mirror address which contains your kernel packages
  2. put the kernel packages into the ./repo directory where they will get picked up from the script
  3. build the image without modifications and then copy the kernel to the flashed sd-card afterwards
  4. use a --customize-hook to download and install arbitrary (kernel) packages
  5. use a copy-in hook to copy kernel image binaries into place
  6. add a meta-package which pulls in your kernel via --include
  7. hook into the tarball creation via mmtarfilter and pass your kernel binaries to the /boot partition that way

I’m sure there are more creative ways.

2 Likes

Got it, this makes sense. Thank you for the pointers!

@josch, can I just say what an amazing resource you are? :green_heart:

3 Likes