Skip to content

Commit

Permalink
update mesa for Fedora 38
Browse files Browse the repository at this point in the history
  • Loading branch information
crramirez committed Nov 11, 2023
1 parent 080f1fc commit d12bd8c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions linux_files/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,7 @@ sudo curl -L -f "${base_url}/linux_files/local.conf" -o /etc/fonts/local.conf
# Install mesa
source /etc/os-release

if [[ -n ${WAYLAND_DISPLAY} && ${VERSION_ID} -eq 36 && $( sudo dnf info --installed mesa-libGL | grep -c '21.2.3-wsl' ) == 0 ]]; then
sudo dnf versionlock delete mesa-dri-drivers mesa-libGL mesa-filesystem mesa-libglapi
curl -s https://packagecloud.io/install/repositories/whitewaterfoundry/fedoraremix/script.rpm.sh | sudo env os=fedora dist="${VERSION_ID}" bash
sudo dnf -y install --allowerasing --nogpgcheck mesa-dri-drivers-21.2.3-wsl.fc35 mesa-libGL-21.2.3-wsl.fc35 glx-utils
sudo dnf versionlock add mesa-dri-drivers mesa-libGL mesa-filesystem mesa-libglapi
fi

declare -a mesa_version=('23.0.2-wsl_2' '23.0.2-wsl_3')
declare -a mesa_version=('23.0.2-wsl_2' '23.1.9-wsl')
declare -a target_version=('37' '38')
declare -i length=${#mesa_version[@]}

Expand Down

0 comments on commit d12bd8c

Please sign in to comment.