firmware

package
v2.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: GPL-3.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package firmware implements the Zaparoo Firmware appliance platform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	*linuxbase.Base
	// contains filtered or unexported fields
}

Platform implements Zaparoo Firmware support.

func NewPlatform

func NewPlatform() *Platform

NewPlatform creates a Zaparoo Firmware platform.

func (*Platform) KioskUnsealed

func (*Platform) KioskUnsealed() []string

KioskUnsealed implements platforms.KioskHost. The appliance boots straight into the frontend from a read-only image, with no shell, desktop or host menu behind it, so a locked device has nothing else to reach.

func (*Platform) LaunchMedia

func (p *Platform) LaunchMedia(
	cfg *config.Instance,
	path string,
	launcher *platforms.Launcher,
	db *database.Database,
	opts *platforms.LaunchOptions,
) error

LaunchMedia launches media through the shared Linux implementation.

func (*Platform) Launchers

func (p *Platform) Launchers(cfg *config.Instance) []platforms.Launcher

Launchers returns custom launchers followed by curated appliance launchers.

func (*Platform) RootDirs

func (*Platform) RootDirs(cfg *config.Instance) []string

RootDirs returns configured roots or the appliance media root.

func (*Platform) SetKioskLocked

func (*Platform) SetKioskLocked(bool) error

SetKioskLocked implements platforms.KioskHost. The appliance has no lock of its own to keep in step.

func (*Platform) Settings

func (*Platform) Settings() platforms.Settings

Settings returns appliance-specific persistent paths.

func (*Platform) SupportedReaders

func (p *Platform) SupportedReaders(cfg *config.Instance) []readers.Reader

SupportedReaders returns the standard Linux reader set.

Jump to

Keyboard shortcuts

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