boot

package
v0.0.0-...-677ed08 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2016 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractKernelAssets

func ExtractKernelAssets(s *snap.Info, snapf snap.Container) error

ExtractKernelAssets extracts kernel/initrd/dtb data from the given kernel snap, if required, to a versioned bootloader directory so that the bootloader can use it.

func KernelOrOsRebootRequired

func KernelOrOsRebootRequired(s *snap.Info) bool

KernelOrOsRebootRequired returns whether a reboot is required to swith to the given OS or kernel snap.

func RemoveKernelAssets

func RemoveKernelAssets(s snap.PlaceInfo) error

RemoveKernelAssets removes the unpacked kernel/initrd for the given kernel snap.

func SetNextBoot

func SetNextBoot(s *snap.Info) error

SetNextBoot will schedule the given OS or kernel snap to be used in the next boot

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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