From c67a7bda49918448c22d266e9a924f92d717cd52 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Fri, 31 Dec 2021 15:00:55 +0100 Subject: [PATCH] Add LIBVA_DRIVER_NAME env var for host dilong --- files/bashrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/files/bashrc b/files/bashrc index eff621c..03b3743 100644 --- a/files/bashrc +++ b/files/bashrc @@ -11,8 +11,13 @@ if [ -d "$HOME/.bashrc.d" ]; then for script in $(find "$HOME/.bashrc.d/" -name '*.sh' |sort -n) ; do # echo "Loading `basename \"$script\"`..." # >&2 - . $script + . "$script" done fi +case "$(hostname)" in + dilong) export LIBVA_DRIVER_NAME=i965 + ;; + *) ;; +esac