Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put GFX_FEATURE_FILE override under cmake option. #1588

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stolk
Copy link
Contributor

@stolk stolk commented Jan 6, 2023

This change is to make media-driver suitable for use in a snap package.
In Ubuntu, AppArmor will intercept access to /etc/ so we should be able to use alternate locations.

For this, the GFX_FEATURE_FILE override can now be enabled via cmake, instead of relying on build type _RELEASE_INTERNAL.

In addition, a second environment variable was added: GFX_FEATURE_FILE_NEXT because the driver attempts to use two files in /etc/ and we need to override both of them for usage in snap packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant