extensions

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MPL-2.0 Imports: 11 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 extension 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