mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-09-08 01:38:02 +02:00
parent
d70e4c2974
commit
bd0c7c94b5
@ -1155,7 +1155,7 @@ update_fwdb()
|
||||
_version=$(( _version ))
|
||||
_version=$(printf "%08X" "$_version")
|
||||
# ensure the official Intel DB always has precedence over mcedb, even if mcedb has seen a more recent fw
|
||||
sqlite3 "$mcedb_tmp" "DELETE FROM \"Intel\" WHERE \"origin\" != \"intel\" AND \"cpuid\" = '$_cpuid';"
|
||||
sqlite3 "$mcedb_tmp" "DELETE FROM \"Intel\" WHERE \"origin\" != 'intel' AND \"cpuid\" = '$_cpuid';"
|
||||
# then insert our version
|
||||
sqlite3 "$mcedb_tmp" "INSERT INTO \"Intel\" (\"origin\",\"cpuid\",\"pfmask\",\"version\",\"yyyymmdd\") VALUES ('intel','$_cpuid','$_pfmask','$_version','$_date');"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user