Bug 269759

Summary: sysutils/hw-probe: lscpu can be used everywhere
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: In Progress ---    
Severity: Affects Only Me CC: grahamperrin
Priority: --- Flags: bugzilla: maintainer-feedback? (danfe)
Version: Latest   
Hardware: Any   
OS: Any   

Description Piotr Kubaj freebsd_committer freebsd_triage 2023-02-22 13:08:13 UTC
lscpu is available on all architectures, not just amd64 and i386.
Comment 1 Alexey Dokuchaev freebsd_committer freebsd_triage 2023-02-23 02:56:10 UTC
(In reply to Piotr Kubaj from comment #0)
> lscpu is available on all architectures, not just amd64 and i386.
But it's being used only there, both programs are fileterd out from the needed list elsewhere:

    ...
    elsif(defined $Sys{"Freebsd_release"}) {
        ...

        if($Sys{"Arch"}!~/i386|amd64/) {
            @NeedProgs = grep {$_!~/dmidecode|lscpu/} @NeedProgs;
        }