Skip to content

[Task] patina_boot: Extend BootOptions to support arbitrary boot devices #1229

@kat-perez

Description

@kat-perez

Description

Extend Config<BootOptions> to support an arbitrary number of boot devices instead of just primary/secondary.

Requirements

  • Change from primary/secondary fields to a Vec<DevicePathBuf>
  • Support hotkey_devices as alternate boot list when hotkey is pressed
  • Maintain builder pattern API

Current State

BootOptions currently only supports:

  • primary: Option<DevicePathBuf>
  • secondary: Option<DevicePathBuf>

The RFC shows:

devices: vec![
    DevicePath::from("PciRoot(0x0)/Pci(0x1D,0x0)/NVMe(...)"),
    DevicePath::from("PciRoot(0x0)/Pci(0x14,0x0)/USB(...)"),
],

Related

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions