install

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const BootDir = "boot/"

Variables

This section is empty.

Functions

func MountDevice added in v1.4.0

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

func PvGrubConfig

func PvGrubConfig(menu BootVars) error

func ReadGlobalCfg added in v1.4.0

func ReadGlobalCfg(globalCfg string) (string, error)

func ReadSyslinuxCfg added in v1.4.0

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