-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow use of akmods module (#71)
The akmods module require having the /rpms directory put into /tmp/rpms. By default we will mount the akmods image with the `main-{{ os_version }}` tag. If a user supplies `base` for the akmods module in their recipe, it will pull that image tag instead and mount the resulting /rpms. ```yaml modules: - type: akmods base: surface install: - openrazer ``` This would pull the image `ghcr.io/ublue-os/akmods:surface-39`. A user can also supply `nvidia-version` with the numerical version of the driver you would like to use. Doing so will mount the appropriate `akmods-nvidia` image with the version of the driver you want in the tag. ```yaml modules: - type: akmods nvidia-version: 545 install: - nvidia ``` This would pull the image `ghcr.io/ublue-os/akmods-nvidia:main-39-545` and `ghcr.io/ublue-os/akmods:main-39`. This uses bind mount like all the other modules so these files will not persist into the final image.
- Loading branch information
Showing
4 changed files
with
88 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters