Fluxion::AptRepositoryStep
Inherits Fluxion::Step < Reference < Object
type: apt-repository — declare a Debian/Ubuntu APT source.
Exists so repository setup is auditable typed data instead of a curl | gpg --dearmor | sudo tee line buried in a shell step. Fluxion downloads and
verifies the key unprivileged, dearmors it unprivileged, and only then uses
structured sudo install for the keyring and source list.
Constants
KEYRING_DIRECTORIES = ["/etc/apt/keyrings", "/usr/share/keyrings"]
SOURCES_DIRECTORY = "/etc/apt/sources.list.d"
Constructors
Class methods
Instance methods
items
Keyed by the source list path: it is unique, absolute, and the thing the user would delete to undo the step.
keyring
Absolute keyring path. Must equal the signed-by option in source,
so the declared trust and the effective trust cannot drift apart.
signing_key
Source