install

package
v0.0.0-...-9e584df Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptionKeySet

type EncryptionKeySet struct {
	Key         secboot.EncryptionKey
	RecoveryKey secboot.RecoveryKey
}

EncryptionKeySet is a set of encryption keys.

type InstalledSystemSideData

type InstalledSystemSideData struct {
	// KeysForRoles contains key sets for the relevant structure roles.
	KeysForRoles map[string]*EncryptionKeySet
}

InstalledSystemSideData carries side data of an installed system, eg. secrets to access its partitions.

func Run

func Run(model gadget.Model, gadgetRoot, kernelRoot, device string, options Options, observer gadget.ContentObserver, perfTimings timings.Measurer) (*InstalledSystemSideData, error)

Run bootstraps the partitions of a device, by either creating missing ones or recreating installed ones.

type Options

type Options struct {
	// Also mount the filesystems after creation
	Mount bool
	// Encrypt the data partition
	Encrypt bool
}

Jump to

Keyboard shortcuts

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