mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-27 17:18:52 +00:00
49ee1042a8
As the Supervisor is a privileged container, it has access to host /dev, and therefore has access to boot, data, and state balenaOS partitions. This commit sets up the framework for the following: - Finds the /dev partition that corresponds to each partition based on partition label - Mounts the partitions into set mountpoints in the device - Removes reliance on env vars and mountpoints provided by host's start-balena-supervisor script - Simplifies host path querying by centralizing these queries through methods in lib/host-utils.ts This particular changes env vars for and mounts the boot partition. Since the Supervisor would no longer rely on container `run` arguments provided by a host script, this change moves Supervisor closer to being able to start itself (Supervisor-as-an-app). Change-type: minor Signed-off-by: Christina Ying Wang <christina@balena.io>
11 lines
234 B
Plaintext
11 lines
234 B
Plaintext
ID="balena-os"
|
|
NAME="balenaOS"
|
|
VERSION="2.103.1+rev1"
|
|
VERSION_ID="2.103.1+rev1"
|
|
PRETTY_NAME="balenaOS 2.103.1+rev1"
|
|
MACHINE="raspberrypi4-64"
|
|
META_BALENA_VERSION="2.103.1"
|
|
BALENA_BOARD_REV=""
|
|
META_BALENA_REV=""
|
|
SLUG="raspberrypi4-64"
|