linuxboot / linuxboot/uefisettings

Start reading the default values in `NUMERIC`

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
95
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Similarly to how ONE_OF was fixed in c0599ade83438ae4f050f6c2c169ee946e847f58, we also need to fix NUMERIC.

Otherwise we sometimes see something like this in hii list-questions:

    Question {
        name: "PXE boot wait time",
        answer: "Error: failed to fill whole buffer",
        options: [],
        help: "Wait time in seconds to press ESC key to abort the PXE boot. Use either +/- or numeric keys to set the value.",
    }

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing NUMERIC handling with the ONE_OF fix in commit c0599ade83438ae4f050f6c2c169ee946e847f58 and reproduce the output with hii list-questions. Trace how default values are read for NUMERIC and verify that the PXE boot wait time is reported instead of the buffer error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.