Skip to content

Reports failure on non-amd64 architectures #352

@basak-qcom

Description

@basak-qcom

Hi,

Thank you for needrestart!

We found that when running on an arm64 machine, it always reports Failed to check for processor microcode upgrades. but does exit with a zero status. However, we're concerned that this could still be alarming for users and seem like a system misconfiguration rather than needrestart simply not having support for arm64.

I found the relevant code here:

https://github.com/liske/needrestart/blame/6d7a76b065dc82386f3e10a77f4cb1bca853804b/needrestart#L1066

...and found that there's only support for AMD and Intel at:

https://github.com/liske/needrestart/tree/6d7a76b065dc82386f3e10a77f4cb1bca853804b/perl/lib/NeedRestart/uCode

Do you think it would be correct to suppress this message entirely when running on a different architecture please, unless/until there's a uCode module that supports this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions