mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 18:12:08 +02:00
profile/core/base: slsa: use nproc instead of parsing /proc/cpuinfo
This commit is contained in:
parent
91b64a5587
commit
d211a2b168
@ -21,7 +21,7 @@ cros_post_src_configure_enable_slsa_provenance_report() {
|
||||
# Generate SLSA provenance 0.2 Subject information.
|
||||
# The information will cover all installation files shipped with a package.
|
||||
__slsa_provenance_subject() {
|
||||
local parallel="$(grep -cE '^processor' /proc/cpuinfo)"
|
||||
local parallel="$(nproc)"
|
||||
local comma=""
|
||||
|
||||
einfo " Provenance: recording subject (output)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user