Bug 269759 - sysutils/hw-probe: lscpu can be used everywhere
Summary: sysutils/hw-probe: lscpu can be used everywhere
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-22 13:08 UTC by Piotr Kubaj
Modified: 2023-04-04 16:33 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;
        }