install

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStatePartition added in v1.4.2

func GetStatePartition() string

func MountDevice added in v1.0.4

func MountDevice(baseName, device, partition string, raw bool) (string, string, error)

func PvGrubConfig

func PvGrubConfig(menu BootVars) error

func ReadGlobalCfg added in v1.0.4

func ReadGlobalCfg(globalCfg string) (string, error)

func ReadSyslinuxCfg added in v1.0.4

func ReadSyslinuxCfg(currentCfg string) (string, string, error)

func RunGrub

func RunGrub(baseName, device string) error

Types

type BootVars

type BootVars struct {
	BaseName, BootDir string
	Timeout           uint
	Fallback          int
	Entries           []MenuEntry
}
type MenuEntry struct {
	Name, BootDir, Version, KernelArgs, Append string
}

Jump to

Keyboard shortcuts

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