Allow specifying the kernel and tarball names, or omitting tarball

fix #113

Use `tar: none` or `tar: ""` to omit the tarball.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-07-14 13:34:07 +01:00
parent 1664445ad6
commit 830be373da
4 changed files with 41 additions and 13 deletions

View File

@@ -44,6 +44,9 @@ which should contain a `kernel` file that will be booted (eg a `bzImage` for `am
called `kernel.tar` which is a tarball that is unpacked into the root, which should usually
contain a kernel modules directory. `cmdline` specifies the kernel command line options if required.
To override the names, you can specify the kernel image name with `binary: bzImage` and the tar image
with `tar: kernel.tar` or the empty string or `none` if you do not want to use a tarball at all.
## `init`
The `init` section is a list of images that are used for the `init` system and are unpacked directly