extensions

package
v1.5.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package extensions provides facilities for building initramfs.xz with extensions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// The initramfs will be rebuilt in-place.
	InitramfsPath string
	// Architecture of the initramfs.
	Arch string
	// ExtensionTreePath is a path to the extracted exension tree.
	ExtensionTreePath string
	// Printf is used for logging.
	Printf func(format string, v ...any)
}

Builder rebuilds initramfs.xz with extensions.

func (*Builder) Build

func (builder *Builder) Build() error

Build rebuilds the initramfs.xz with extensions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL