Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
ddaa53b
Add MacBook Neo installation and native Recovery setup
DjDeveloperr Oct 15, 2026
2a25554
Fix optional Neo firmware handling and complete Recovery CI coverage
DjDeveloperr Oct 15, 2026
92845ec
Apply the engine pin formatting and check Recovery Swift style in CI
DjDeveloperr Oct 15, 2026
440064a
Make the Recovery deferral receipt writable before restarting
DjDeveloperr Oct 15, 2026
0f6680b
Size the Neo's iBoot System Container through its disk driver
Oct 16, 2026
85c2acb
Merge pull request #6 from aurora-silicon/fix/neo-touch-id-raw-device…
RyanTheTide Oct 16, 2026
a08c99f
Complete Recovery deferral and consume canonical Aurora packages
DjDeveloperr Oct 16, 2026
379ec25
Apply Swift formatting to deferred Recovery flow
DjDeveloperr Oct 16, 2026
6e271bb
Port the authenticated restore-image helper to Swift
DjDeveloperr Oct 16, 2026
3feeb06
Validate Swift helper transport and reproducible native builds
DjDeveloperr Oct 16, 2026
993fc73
Apply native Swift review and preserve recipe field encoding
DjDeveloperr Oct 16, 2026
f1f7bf7
Bound FCS redirects and close HTTP test workers deterministically
DjDeveloperr Oct 16, 2026
b38a7a1
Wake the local HTTP fixture explicitly during teardown
DjDeveloperr Oct 16, 2026
9d0f0e8
Remove transient build paths from the Swift release helper
DjDeveloperr Oct 16, 2026
d8dcb5e
Ship the source-built Swift restore helper in engine .45
DjDeveloperr Oct 16, 2026
f4f5734
Point engine publication at the qualified Swift integration revision
DjDeveloperr Oct 16, 2026
bf869fa
Require CI to reproduce the bundled Swift helper exactly
DjDeveloperr Oct 16, 2026
5792a79
Include the Swift helper license with the distributed engine
DjDeveloperr Oct 16, 2026
cadc138
Keep the engine publication source aligned with its final notice
DjDeveloperr Oct 16, 2026
39c3832
Synchronize the engine source revision in both release templates
DjDeveloperr Oct 16, 2026
dd74786
restore-image: clean abandoned workspaces and retain the executable UUID
DjDeveloperr Oct 17, 2026
03bff93
installer: close Neo payload, Recovery and backend build review gaps
DjDeveloperr Oct 17, 2026
cecbbc0
release: bind engine 47 to its reviewed source revision
DjDeveloperr Oct 17, 2026
7115941
RestoreImage: parse APFS LZVN end markers before native decoding
DjDeveloperr Oct 17, 2026
b504bc8
Recovery: compare executable code across per-install signing
DjDeveloperr Oct 17, 2026
e7c97b3
Engine: pin native Recovery and firmware fixes in release 48
DjDeveloperr Oct 17, 2026
ca3ecd5
RestoreImage: match the bundled helper to the CI toolchain
DjDeveloperr Oct 17, 2026
a75ef5f
release: bind engine 49 to its toolchain-aligned source
DjDeveloperr Oct 17, 2026
6b64475
Recovery: stage per-install data outside the signed application
DjDeveloperr Oct 17, 2026
6dea342
release: bind engine 50 to immutable Recovery publication
DjDeveloperr Oct 17, 2026
991e4ba
tests: derive Recovery bundle names from product identity
DjDeveloperr Oct 17, 2026
e034103
Recovery: preserve enrollment retries and validate migrated payloads
DjDeveloperr Oct 17, 2026
82d6818
engine: retain authenticated runtime mirror and publish engine 50
DjDeveloperr Oct 17, 2026
8614c66
image: bind Neo edge packages and immutable Recovery input
DjDeveloperr Oct 17, 2026
243c044
test: require the full Neo support set in portable checks
DjDeveloperr Oct 17, 2026
932b78c
image-builder: reject host Btrfs wrappers in the embedded initrd
DjDeveloperr Oct 17, 2026
8f667c2
image-builder: require the encryption failure gate in the UKI
DjDeveloperr Oct 17, 2026
6c9d577
image-builder: require package integrity metadata and check native Ne…
DjDeveloperr Oct 18, 2026
5d6c548
Merge main acceptance runner updates into Neo installer work
DjDeveloperr Oct 18, 2026
aa87e13
test: bind native Recovery records to the inspected Neo fixture set
DjDeveloperr Oct 18, 2026
a404657
ci: wire real Neo channel input checks and optional image builds
DjDeveloperr Oct 18, 2026
3211d49
image-builder: accept the upstream encryption boot contract
DjDeveloperr Oct 18, 2026
7a44456
ci: initialize the Neo image work directory in a step
DjDeveloperr Oct 18, 2026
ef40714
Merge branch 'main' into feat/neo
maralcbr Oct 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/mac-release-pipeline.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"engine": {
"version": "v0.9.2-omarchy.28",
"url": "https://github.com/omacom/omarchy-mac-installer/releases/download/engine-v0.9.2-omarchy.28/installer-v0.9.2-omarchy.28.tar.gz",
"fileName": "installer-v0.9.2-omarchy.28.tar.gz",
"sizeBytes": 17843348,
"sha256": "0cf1aa87760f90a545298b7cef737c9b497f2cad421d79ac59f557a81f2eb146",
"downstreamRevision": "dff6311446439e1f29f0f2e6c0cf82a9a190e5bc"
"version": "v0.9.2-omarchy.42",
"url": "https://github.com/omacom/omarchy-mac-installer/releases/download/engine-v0.9.2-omarchy.42/installer-v0.9.2-omarchy.42.tar.gz",
"fileName": "installer-v0.9.2-omarchy.42.tar.gz",
"sizeBytes": 23859720,
"sha256": "6d8b76e1a997a60d5a36bc4c9d5eab83fb5b62447ba909d6aefeeffea6fb15b0",
"downstreamRevision": "7c1dbb415af42496c9bc2b2d64bd3769233dd042"
},
"installer": {
"minimumVersion": "2.2.0",
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,16 @@ jobs:
"$tool_bin/xcodebuildmcp" --version | tee -a "$RUNNER_TEMP/installer-ci/toolchain.txt"
- name: Check Swift formatting
run: xcrun swift-format lint --strict --recursive Package.swift Sources Plugins Tests 2>&1 | tee "$RUNNER_TEMP/installer-ci/swift-format.log"
- name: Check Recovery Swift formatting
run: xcrun swift-format lint --strict --recursive Recovery/Package.swift Recovery/Sources Recovery/Tests 2>&1 | tee "$RUNNER_TEMP/installer-ci/recovery-swift-format.log"
- name: Run debug Swift tests
run: xcodebuildmcp swift-package test --package-path "$PWD" --configuration debug 2>&1 | tee "$RUNNER_TEMP/installer-ci/swift-debug.log"
- name: Run release Swift tests
run: xcodebuildmcp swift-package test --package-path "$PWD" --configuration release 2>&1 | tee "$RUNNER_TEMP/installer-ci/swift-release.log"
- name: Build Recovery enrollment app and run its standalone fixtures
run: bash Recovery/build-app.sh recovery "$RUNNER_TEMP/installer-ci/recovery-enrollment" 2>&1 | tee "$RUNNER_TEMP/installer-ci/recovery-enrollment.log"
- name: Build Recovery preview
run: OMARCHY_RECOVERY_BUILD=preview xcodebuildmcp swift-package build --package-path "$PWD/Recovery" --configuration release 2>&1 | tee "$RUNNER_TEMP/installer-ci/recovery-preview.log"
- name: Save macOS evidence
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/mac-app-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ defaults:
shell: bash

env:
# The draft release that holds the engine Packaging/build-app.sh pins, until
# the engine is hosted on mac.omarchy.org (tickets 07 and 13).
ENGINE_RELEASE: engine-v0.9.2-omarchy.28
# Packaging/release/publish-app target; ticket 13 switches it to r2.
APP_PUBLISH_TARGET: github-release
# Catalogs the app reads: stopgap (this repository's catalog-<channel>
Expand Down Expand Up @@ -114,11 +111,12 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
name=$(sed -n 's/^engine_file_name="\(.*\)"$/\1/p' Packaging/build-app.sh)
digest=$(sed -n 's/^engine_digest="\([0-9a-f]\{64\}\)"$/\1/p' Packaging/build-app.sh)
[[ -n $name && -n $digest ]]
read -r name digest size < <(python3 Packaging/read-validation-engine.py)
[[ -n $name && -n $digest && -n $size ]]
release="engine-${name#installer-}"
release="${release%.tar.gz}"
mkdir -p "$RUNNER_TEMP/engine"
gh release download "$ENGINE_RELEASE" -R "$GITHUB_REPOSITORY" -p "$name" -D "$RUNNER_TEMP/engine"
gh release download "$release" -R "$GITHUB_REPOSITORY" -p "$name" -D "$RUNNER_TEMP/engine"
(cd "$RUNNER_TEMP/engine" && echo "$digest $name" | sha256sum -c -)
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
Expand Down
6 changes: 4 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ Local source edits, pure tests, read-only inspection, and disposable artifacts
are reversible. Obtain the owner's explicit authorization immediately before
helper registration, privileged execution, disk or boot-policy mutation,
signing or notarization with production credentials, publication, deployment,
or physical-device work. Keep `apple,j614s` fail-closed until official support
and physical qualification both exist.
or physical-device work. Public builds keep unqualified boards such as
`apple,j614s` fail-closed until official support and physical qualification
both exist. Developer builds (`OmarchyDeveloperBuild`, sealed developer
catalog only) may admit unqualified boards their engine supports.

## Standalone repository conventions

Expand Down
Binary file added Design/Assets/MacBookPowerButton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Design/Assets/MacBookPowerButton.prompt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Use case: product-mockup. Create a premium, precise instructional UI illustration for a macOS-style Linux installer. Subject: a clean close-up three-quarter top view of the UPPER RIGHT CORNER of an open silver aluminum MacBook-style laptop, with the hinge, a narrow sliver of dark screen, black keyboard keys and the distinct black power/Touch ID key at the keyboard's top right. The power key is in the keyboard deck, not on the side of the chassis. Frame the right-hand portion only so the power key is clearly identifiable at small UI size. Style: realistic industrial design proportions with simplified Figma-quality 3D product illustration, satin silver, crisp edges, gentle ambient shading, restrained detail, not a photograph and not a cartoon. Add a single thin warm sand-gold outline around the power key as an instructional highlight, no glow explosion. No hand, no arrows, no text, no letters or numbers on keys, no Apple logos, no border, no background card. Transparent background with clean alpha, no floor or cast shadow beyond the object, generous transparent margin. Landscape composition suitable for a 260 x 160 point illustration on a dark navy UI (#1A1B26) or pale gray UI. Avoid extraneous ports or invented buttons. Deliver a polished ready-to-use isolated asset.

Generated using the built-in imagegen tool. Preserve the transparent PNG alpha channel.
Binary file added Design/Assets/MacDesktopPowerButton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Design/Assets/MacDesktopPowerButton.prompt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Create the desktop counterpart to the supplied MacBook illustration, matching its clean premium Figma-like 3D instructional render, satin silver aluminum, dark detailing and restrained gold highlight. This is a separate new asset: NO notebook, NO keyboard, NO screen. Subject: close-up of the BACK LEFT CORNER of a compact Apple-silicon Mac mini / Mac Studio-style aluminum desktop computer. Show the small round power button on the REAR panel near the left corner, emphasized by a thin sand-gold outline; a narrow section of dark rear I/O panel can extend to the right, simplified unobtrusive connectors. Crop closely enough that power button is the clear focus at small UI size, while the rounded silver enclosure and flat base make it unmistakably a desktop computer. Correct natural industrial geometry, not a toy, not a cube with arbitrary buttons. Three-quarter rear view looking slightly down; clean high-end UI illustration rather than photo. Transparent background with true alpha, no floor, no cast shadow outside object. No text, no labels, no logos, no hands, no arrows, no background card. Landscape composition comparable to the supplied image, generous clean margins. This rear-button view is for Mac Studio and M1/M2 Mac mini; do not depict a bottom-mounted power button.

Generated using the built-in imagegen tool, with MacBookPowerButton.png as a style reference. This rear-button asset is only for Mac Studio and M1/M2 Mac mini families; newer underside-button models use separate generic guidance.
31 changes: 31 additions & 0 deletions Development/ReadinessCheck/main.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import Darwin
import Foundation
import OmarchyAppleInstallerTrustCore

@main struct InstallerReadinessCheck {
static func main() async {
do { try await check() } catch {
FileHandle.standardError.write(Data("NOT READY: \(error)\n".utf8))
exit(1)
}
}

private static func check() async throws {
guard CommandLine.arguments.count == 2,
let bundle = Bundle(url: URL(fileURLWithPath: CommandLine.arguments[1]))
else { throw NSError(domain: "readiness", code: 64) }
let host = try AppleSiliconHostInspector().inspect()
let archive = try ValidationEngineArtifactLocator().locate(in: bundle)
let scratch = FileManager.default.temporaryDirectory.appendingPathComponent(UUID().uuidString)
try FileManager.default.createDirectory(
at: scratch, withIntermediateDirectories: false, attributes: [.posixPermissions: 0o700])
defer { try? FileManager.default.removeItem(at: scratch) }
let transcript = try await PinnedAsahiEngineExecutor().inspect(archive, in: scratch)
let engine = try AppleInstallerTrustCore().validateEngineTranscript(transcript)
guard engine.deviceIdentifier == host.identity.deviceIdentifier, engine.support == .supported,
host.eligibility == .requiresSignedCatalog
else { throw NSError(domain: "readiness", code: 1) }
print(
"READY: \(host.identity.deviceIdentifier), engine \(ValidationEngineArtifactLocator.version)")
}
}
73 changes: 73 additions & 0 deletions Development/RecoveryAccountQualification/main.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
import Foundation
import RecoveryAccountCore

// Opt-in native-account qualification on a disposable APFS image. This tool
// is not packaged in either installer. Refuse real/internal physical stores.
@main struct Qualification {
static func main() throws {
guard CommandLine.arguments.count == 5 else {
fatalError("systemUUID dataUUID groupUUID prebootUUID")
}
let ids = Array(CommandLine.arguments.dropFirst())
let target = RecoveryAccountTarget(
volumeName: "Omarchy Account Fixture", systemUUID: ids[0], dataUUID: ids[1],
groupUUID: ids[2], prebootUUID: ids[3])
let info = try AccountNativeCommand.disk(target.dataUUID)
guard info["Internal"] as? Bool == false,
(info["VolumeName"] as? String) == "Omarchy Account Fixture - Data"
else { throw AccountSetupFailure("Only a disposable external fixture is allowed.") }
let password = Data("fixture-only".utf8)
try RecoveryAccountInstaller.refreshMountedGroup(target)
print("Mounted Data volume group matches the paired System volume.")
let created = try RecoveryAccountInstaller.prepare(
target, username: "fixture_owner", password: password)
guard ["prepared", "awaiting-ownership"].contains(created.phase) else {
fatalError("wrong phase")
}
let repeated = try RecoveryAccountInstaller.prepare(
target, username: "fixture_owner", password: password)
guard created == repeated else { fatalError("not idempotent") }
do {
_ = try RecoveryAccountInstaller.prepare(
target, username: "fixture_owner", password: Data("incorrect".utf8))
fatalError("wrong password accepted")
} catch is AccountSetupFailure {}
let pending = try RecoveryAccountInstaller.finalize(target, password: password)
guard ["prepared", "awaiting-ownership"].contains(pending.phase) else {
fatalError("ownership invented")
}
do {
try RecoveryAccountInstaller.requireOwnership(pending)
fatalError("ungranted ownership accepted")
} catch is AccountSetupFailure {}
let systemInfo = try AccountNativeCommand.disk(target.systemUUID)
guard let systemMount = systemInfo["MountPoint"] as? String else {
throw AccountSetupFailure("Fixture System is not mounted.")
}
let system = URL(fileURLWithPath: systemMount)
let core = system.appendingPathComponent("System/Library/CoreServices")
try FileManager.default.createDirectory(at: core, withIntermediateDirectories: true)
let metadata = try PropertyListSerialization.data(
fromPropertyList: [
"ProductName": "macOS", "ProductVersion": "26.6.2", "ProductBuildVersion": "fixture",
], format: .xml, options: 0)
let hidden = core.appendingPathComponent("SystemVersion-disabled.plist")
let visible = core.appendingPathComponent("SystemVersion.plist")
try metadata.write(to: hidden)
try RecoveryVersionMetadata.showForStartupDisk(system: system)
guard try Data(contentsOf: visible) == metadata,
!FileManager.default.fileExists(atPath: hidden.path)
else { fatalError("metadata show failed") }
try Data("fixture".utf8).write(to: system.appendingPathComponent(".IAPhysicalMedia"))
try RecoveryVersionMetadata.hideForInitialRecovery(system: system)
guard try Data(contentsOf: hidden) == metadata,
!FileManager.default.fileExists(atPath: visible.path)
else { fatalError("metadata hide failed") }
try RecoveryVersionMetadata.showForStartupDisk(system: system)
print("Startup Disk / Recovery version metadata round trip preserved exact bytes.")
print("phase=\(pending.phase) conditionalCredentialRepair=\(pending.tokenReconciled)")
print(
"Native account create, persisted identity, repeat, wrong-password rejection and ungranted ownership checks passed."
)
}
}
10 changes: 9 additions & 1 deletion Development/Simulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Requires Xcode and XcodeBuildMCP. The launcher builds the debug app and supplies

## Controls

All simulation controls live in the **Simulation** menu bar item. They are absent from the release app and when simulation is not enabled. The installer content fills the resizable window; there is no simulation dashboard above it.

- **Scenario** selects one of 27 outcomes and resets the simulated session. `--simulate-scenario=NAME` (the scenario's raw name, for example `noMacRelease`) opens on that scenario, and `--simulate-continue` presses Continue once, so a screen can be captured without driving the window.
- **Reset simulation** abandons only the in-memory run, including a stopped or uncertain outcome.
- **Slow events** makes each event take two seconds; changing speed resets the session.
Expand Down Expand Up @@ -71,7 +73,7 @@ Simulation proves presentation and session behavior. It does not prove hardware
## Removal

Choose **Installation → Remove Omarchy…** to dry-test removal independently of
installation. The popup's **Removal test** selector covers nine outcomes. Type
installation. The **Simulation → Removal Scenario** menu selects the removal outcome. Type
`delete omarchy installation and data` exactly to enable removal. No real password
is requested in simulation. See [Removal.md](Removal.md) for the supported disk
layout, recovery behavior and test coverage.
Expand All @@ -80,3 +82,9 @@ The **Disk alignment · whole GB unchanged** scenario reproduces normal 1 MiB
partition alignment. Selecting 180 GB must keep 180 GB displayed without a
capacity-limit warning. The acknowledgement still resets. Actual whole-GB changes
use “Space for Omarchy changed from … to …” without assuming why it changed.

## Recovery account preview

**Simulation → Preview Recovery Account…** opens the proposed final account step directly. The successful simulated installation also ends at this form. It asks for a new short username, password and confirmation; validation follows the documented native account creator's username format and requires a nonempty, matching password. The GUI imposes no additional minimum length; live creation must report native password-policy errors. Continuing clears both password fields and shows the Startup Disk authorization instructions. **Open Startup Disk** displays a simulation notice; it does not open Settings or reboot. **Reset Simulation** returns to the ordinary installer start.

This is a presentation prototype. It does not create an account or grant ownership, and the live installer keeps its existing Recovery handoff. Production integration requires the resumable target-account creation and Preboot finalization described in Aurora's `work/sep-stub-account-20261011/README.md`; the original script is not a complete resume/finalization backend.
Binary file added Engine/overlay/bin/omarchy-restore-image
Binary file not shown.
82 changes: 82 additions & 0 deletions Engine/overlay/src/omarchy_als.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# SPDX-License-Identifier: MIT
"""J700 CT817 calibration derived from this Mac's exbright LSCI record.

LSCI 4.5 stores five signed Q16 coefficients and six signed gain steps.
The AOP setup message uses per-step ratios, not cumulative gains: this is
consistent with the captured J700 native 80-byte CT817 setup message. The
correction factor is 1.0 and the final eight bytes are zero in that capture.
Never substitute calibration from another Mac when collection fails.
"""

import plistlib
import struct
import subprocess
from xml.parsers.expat import ExpatError

FIRMWARE_NAME = "apple/j700-aop-als-cal.bin"
LSCI_SIZE = 156
SETUP_OPCODE = 0x0746B8D665152E31


class AlsError(ValueError):
pass


def calibration(lsci):
"""Convert the supported LSCI 4.5 record into the driver's 80-byte ABI."""
if not isinstance(lsci, bytes) or len(lsci) != LSCI_SIZE:
raise AlsError("expected a 156-byte exbright LSCI record")
if lsci[:2] != b"\x05\x04":
raise AlsError("unsupported exbright LSCI version (expected 4.5)")
if struct.unpack_from("<H", lsci, 4)[0] != LSCI_SIZE:
raise AlsError("exbright LSCI size field disagrees with its record")

coefficients = [value / 65536.0 for value in struct.unpack_from("<5i", lsci, 28)]
gains = []
for offsets in ((58, 62, 66), (60, 64, 68)):
raw = [struct.unpack_from("<h", lsci, offset)[0] for offset in offsets]
if any(value <= 0 for value in raw):
raise AlsError("exbright LSCI contains a non-positive gain ratio")
gains.extend([1.0] + [value / 255.0 for value in raw])
return struct.pack("<QQ14f8x", SETUP_OPCODE, 56, *coefficients, 1.0, *gains)


def from_ioreg(data):
"""Find one exbright LSCI property in an IORegistry XML/binary plist."""
try:
roots = plistlib.loads(data)
except (ValueError, TypeError, ExpatError, plistlib.InvalidFileException) as error:
raise AlsError("invalid exbright IORegistry property list") from error
if not isinstance(roots, list):
raise AlsError("expected IORegistry roots in the exbright property list")
found = []
pending = list(roots)
while pending:
node = pending.pop()
if not isinstance(node, dict):
raise AlsError("invalid IORegistry entry in exbright property list")
if node.get("IORegistryEntryName") == "exbright" and "LSCI" in node:
found.append(node["LSCI"])
children = node.get("IORegistryEntryChildren", [])
if not isinstance(children, list):
raise AlsError("invalid IORegistry children in exbright property list")
pending.extend(children)
if len(found) != 1:
raise AlsError(f"expected one exbright LSCI record, found {len(found)}")
# Validate before retaining the raw fallback record as well.
calibration(found[0])
return found[0]


def read_lsci(run=subprocess.run):
"""Read and validate this booted Mac's exbright calibration, without writes."""
result = run(
["/usr/sbin/ioreg", "-r", "-a", "-n", "exbright", "-l"],
capture_output=True,
check=True,
)
return from_ioreg(result.stdout)


def collect(run=subprocess.run):
return {FIRMWARE_NAME: calibration(read_lsci(run))}
Loading
Loading