Skip to content

Commit

Permalink
Script updates based on feedback re Windows disk model
Browse files Browse the repository at this point in the history
  • Loading branch information
iadgovuser29 committed Jun 16, 2021
1 parent ba85846 commit 76a20fd
Show file tree
Hide file tree
Showing 6 changed files with 16,706 additions and 1,031 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To build the project yourself, paccor uses Gradle to manage build tasks. paccor
https://trustedcomputinggroup.org/resource/tcg-platform-attribute-credential-profile/

### The private enterprise numbers list came from:
https://www.ietf.org/assignments/enterprise-numbers/enterprise-numbers
http://www.iana.org/assignments/enterprise-numbers



2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ospackage {
os=LINUX
arch=NOARCH
version='1.1.4'
release='4'
release='5'

into '/opt/paccor'
user 'root'
Expand Down
2 changes: 1 addition & 1 deletion scripts/allcomponents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ parseNvmeData () {
class=$(jsonComponentClass "$COMPCLASS_REGISTRY_TCG" "$COMPCLASS_HDD")

for ((i = 0 ; i < numHandles ; i++ )); do
manufacturer="" # Making this appear as it does on windows, lshw doesn't see nvme drives and nvme-cli doesn't return a manufacturer field
manufacturer="" # Making this appear as it does on windows, nvme-cli doesn't return a manufacturer field
model=$(nvmeGetModelNumberForDevice "$i")
serial=$(nvmeGetNguidForDevice "$i")
if [[ $serial =~ ^[0]+$ ]]; then
Expand Down
Loading

0 comments on commit 76a20fd

Please sign in to comment.