runtime: Save a bwrap invocation and a shell by not using globbing
This was using bwrap to make ${libdir}/dri available on
/run/host/${libdir}/dri, in order to run the equivalent of:
ln -fns /run/host/${libdir}/dri/* /overrides/lib/${tuple}/dri/
Instead of using the shell wildcard '*' to implement readdir(), let's
just call readdir(${libdir}/dri) ourselves, and fix up the symlink
targets to point into /run/host/${libdir}/dri.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
Loading
Please register or sign in to comment