Build an image with custom snaps

This How-to doesn’t really capture what I want it to; it doesn’t tell me where the reference model JSONs are located, it doesn’t tell me how to augment that JSON with a new snap, and it doesn’t tell me how to sign the JSON to get an associated assertion.

I think this How-to needs at least those three things to be effective.

I’m going to propose a rewrite for the entire How-to set of pages this is housed under (Image creation), which basically swaps the order of all the pages and breaks it down into subsections. This rewrite doesn’t impeded at least improving this How-to as a first step, however.

Proposal:

|- Hardware enablement
|   |-> gadget snap creation
|         |-> Add a splash screen
|   |-> kernel snap creation
|- Image creation
      |-> Creating a model (without cannibalizing the 
                            Tutorial this page links to)
      |-> Adding custom snaps
      |-> Optimize boot speed