Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractKernelAssets ¶
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 ¶
KernelOrOsRebootRequired returns whether a reboot is required to swith to the given OS or kernel snap.
func RemoveKernelAssets ¶
RemoveKernelAssets removes the unpacked kernel/initrd for the given kernel snap.
func SetNextBoot ¶
SetNextBoot will schedule the given OS or kernel snap to be used in the next boot
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.