package
4.0.0+incompatible
Repository: https://github.com/shaardie/u-root.git
Documentation: pkg.go.dev
# Functions
NewLinuxImageFromArchive reads a netboot21 Linux OSImage from a CPIO file archive.
NewMeasuringReader returns a new measuring reader.
NewPackage returns a new package based on the given OSImage.
NewSigningWriter returns a new signing cpio writer.
# Variables
ErrKernelMissing is returned by LinuxImage.Pack if no kernel is given.
# Structs
LinuxImage implements OSImage for a Linux kernel + initramfs.
MeasuringReader is a cpio.Reader that collects the signed data and compares it against the signature in the given cpio archive.
Package is a netboot21 boot package.
SigningWriter is a cpio.RecordWriter that collects digests as it writes files to the cpio archive.
# Interfaces
OSImage represents a bootable OS package.