Skip to content

Commit

Permalink
dasharo-hcl-report: add /sys/kernel/debug/dri/*/*_vbt to logs
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Iwanicki <[email protected]>
  • Loading branch information
m-iwanicki committed Nov 12, 2024
1 parent 067e62a commit a5f6ef7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions reports/dasharo-hcl-report
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,13 @@ intelmetool -m > logs/intelmetool.log 2> logs/intelmetool.err.log
update_result "ME information" logs/intelmetool.err.log
printf '##################################################### |\r'

# echo "Getting graphics VBT"
files=$(find /sys/kernel/debug/dri -maxdepth 2 -name "i915_vbt")
for file in $files; do
# copy $file to logs/dri_<directory>_<filename>
cp "$file" "logs/dri_$(basename "$(dirname "$file")")_$(basename "$file")"
done
update_result "Graphics VBT" 0 UNKNOWN
printf '####################################################### |\r'
printf '######################################################### |\r'
printf '########################################################### |\r'
Expand Down

0 comments on commit a5f6ef7

Please sign in to comment.