extensions

package
v1.8.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MPL-2.0 Imports: 12 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)
	// Quirks for the Talos version being used.
	Quirks quirks.Quirks
}

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