Skip to content

Port the setup and upgrade pipeline, including appliance mode, to Rust #725

Open

Description

@pithead-developer

What's the problem

Setup and upgrade are the largest Bash block (roughly 1,900 lines): package install, build, unit install, GRUB and limits, and appliance mode (no package install, --runtime enable, GRUB and limits skipped). The appliance re-runs setup every boot.

What it impacts

Every first install, upgrade and appliance boot.

How I found it

Function-span map of rigforge.sh at ea41133; sizes are approximate.

How important is it

Highest risk of the CLI work; lands only if the benchmark supports it.

Acceptance criteria

Possible solutions

  • Port stage by stage with fall-through to Bash.
  • Keep the XMRig build toolchain and package managers as external commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4-code-healthenhancementrefactorsize:L

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions