From 710d0195aa9c55d2c51ce9f8b3c4daa25ab5ddb1 Mon Sep 17 00:00:00 2001 From: Jocelyn Le Sage Date: Thu, 27 Jun 2024 15:53:51 -0400 Subject: [PATCH] Keep usage of mesa drivers for WebGL support. --- rootfs/etc/cont-env.d/LIBGL_DRIVERS_PATH | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 rootfs/etc/cont-env.d/LIBGL_DRIVERS_PATH diff --git a/rootfs/etc/cont-env.d/LIBGL_DRIVERS_PATH b/rootfs/etc/cont-env.d/LIBGL_DRIVERS_PATH new file mode 100755 index 0000000..192fbcc --- /dev/null +++ b/rootfs/etc/cont-env.d/LIBGL_DRIVERS_PATH @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e # Exit immediately if a command exits with a non-zero status. +set -u # Treat unset variables as an error. + +# Override what is set by the baseimage and do not set the variable. Needed for +# WebGL support. +exit 100 + +# vim:ft=sh:ts=4:sw=4:et:sts=4