Documentation ¶
Overview ¶
Package initramfs provides functionality to generate an archive, which can be extracted by the Linux kernel when the kernel boots up.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bluebox ¶
type Bluebox struct {
// contains filtered or unexported fields
}
func (*Bluebox) Embed ¶
Embed adds file into the resulting archive but does not add it for execution by the init program.
func (*Bluebox) Execute ¶
Execute embeds executable into the resulting archive and passes arg as arguments to its execution instruction.
func (*Bluebox) Generate ¶
Generate writes the configured initramfs archive to a file. Otherwise an error is returned. To do so it first auto generates a init program from the given parameters and compiles it before placing it into archive.
Click to show internal directories.
Click to hide internal directories.