package
0.0.0-20250312152250-ea85ec9d2454
Repository: https://github.com/snapcore/snapd.git
Documentation: pkg.go.dev

# Packages

package fde implements helper used by low level parts like secboot in snap-bootstrap and high level parts like DeviceManager in snapd.

# Functions

DriversTreeDir returns the directory for a given kernel and revision under rootdir.
EnsureKernelDriversTree creates a drivers tree that can include modules/fw from kernel-modules components.
InfoFromKernelYaml reads the provided kernel metadata.
KernelVersionFromModulesDir returns the kernel version for a mounted kernel snap (this would be the output if "uname -r" for a running kernel).
NeedsKernelDriversTree returns true if we need a kernel drivers tree for this model.
ReadInfo reads the kernel specific metadata from meta/kernel.yaml in the snap root directory if the file exists.
RemoveKernelDriversTree cleans-up the writable kernel tree in snapd data folder, under kernelSubdir/<rev> (kernelSubdir is usually the snap name).
Validate checks whether the given directory contains valid kernel snap metadata and a matching content.

# Variables

ValidAssetName is a regular expression matching valid asset name.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
ModulesCompMountPoints contains mount points for a component plus its name.
MountPoints describes mount points for a snap or a component.