summary refs log tree commit diff
path: root/Documentation/decisions/001-host-update-mechanism.adoc
blob: 39f9f28837b5ba0e9b5ee32609ec93e85a27490f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
= 001 Host Update Mechanism
:page-parent: Architecture Decision Records
:page-grand_parent: About Spectrum

// SPDX-FileCopyrightText: 2022 Unikie
// SPDX-License-Identifier: GFDL-1.3-no-invariants-or-later OR CC-BY-SA-4.0

== Status

Proposed

== Context

Spectrum currently has no implementation for software update.  The host --
consisting of the Linux kernel, KVM, cloud-hypervisor and minimal user space
tools -- will require software updates to support feature development and
security fixes.

== Decision

The Spectrum installer will set up the system on partition A of the block
device, as part of an A/B update scheme where user (or installer) writes the
update image to partition B.

The bootloader will provide four boot options: _A_, _A (mutable)_, _B_, _B
(mutable)_.

== Consequences

Default boot selection, incremental updates (e.g. overlays), and over-the-air
updates are postponed for later.