Skip to content

Commit b3f64f1

Browse files
committed
asahi-diagnose: Add environment section
Preempting that some people are going to try to make global Mesa overrides and similarly terrible ideas... Signed-off-by: Hector Martin <[email protected]>
1 parent 08f35a4 commit b3f64f1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

asahi-diagnose

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ logfile() {
131131
echo
132132
}
133133

134+
environment() {
135+
echo "## Environment"
136+
set | grep -E 'MESA|XDG_SESSION_TYPE|DISPLAY|ASAHI|TERM|LANG|LOCALE|LC_' | sed 's/^/ /'
137+
echo
138+
}
139+
134140
diagnose() {
135141
f="$1"
136142

@@ -146,6 +152,7 @@ diagnose() {
146152
firmware_versions
147153
boot_config
148154
system_info
155+
environment
149156
getfile /proc/mounts "Mounts"
150157
[ -e /etc/arch-release ] && package_versions
151158
cmd lsblk "Block devices"

0 commit comments

Comments
 (0)