Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: check/ck_cpu_arch: check if current cpu arch is in given list #70

Open
1 task done
aronchanisme opened this issue Oct 22, 2024 · 0 comments
Open
1 task done
Assignees
Labels
function/check priority/p-1 priority p-1 type/feature propose a new feature request
Milestone

Comments

@aronchanisme
Copy link
Collaborator

aronchanisme commented Oct 22, 2024

Is there an existing issue for the feature request?

  • I have checked the existing issues.

Feature Description

Check if current cpu arch is in given list, e.g. x86_64/arm64/aarch64/etc

usage: 
check/ck_cpu_arch.sh <arch_list_seperated_by_comma>

example:
check/ck_cpu_arch.sh x86_64,arm64

output:
return 0: current cpu arch in the given list
return 1: current cpu arch not in the given list

Feature Implementation

command: arch

Additional information

No response

@aronchanisme aronchanisme added type/feature propose a new feature request function/check labels Oct 22, 2024
@aronchanisme aronchanisme added this to the mo_ctl 2.0 milestone Oct 22, 2024
@aronchanisme aronchanisme self-assigned this Oct 22, 2024
@aronchanisme aronchanisme changed the title [Feature Request]: check/cpu_arch: check if current cpu arch is in given list [Feature Request]: check/ck_cpu_arch: check if current cpu arch is in given list Oct 22, 2024
@aronchanisme aronchanisme added the priority/p-1 priority p-1 label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
function/check priority/p-1 priority p-1 type/feature propose a new feature request
Projects
None yet
Development

No branches or pull requests

1 participant