Skip to content

export: use ld.conf for overriding system mesa

clayton craft requested to merge ld_config into master

This replaces the hack-ish mount overlay method with a ld.conf file pointing to the build root (actual file provided by salt), the change here is to call 'sudo ldconfig' after importing the build_root.

Support for using 'mount overlay' has been dropped with this commit. If the ld.conf file does not exist, there is no change over the current CI behavior for systems that didn't use the overlay.

This change will also require that build.py is invoked with --startx when run in CI, since leeroy will need to be changed to not start x prior to running the build.py. Starting X is necessary after export/ldconfig is run by this change.

Merge request reports