-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: switch to akmods repo provided nvidia kmod (#146)
* feat: switch to akmods repo provided nvidia kmod This removes the akmod build process for nvidia drivers and the build of ublue-os-nvidia-addons from this repo, and instead installs said RPMs which are now built in the ublue-os/akmods repo. * chore(ci): fix forgotten change of Containerfile name * chore(ci): remove driver 530 references from workflow * chore(ci): use versioned akmods-nvidia images instead of akmods common
- Loading branch information
Showing
15 changed files
with
27 additions
and
496 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ARG IMAGE_NAME="${IMAGE_NAME:-silverblue}" | ||
ARG BASE_IMAGE="ghcr.io/ublue-os/${IMAGE_NAME}-main" | ||
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-37}" | ||
|
||
FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} | ||
|
||
ARG IMAGE_NAME="${IMAGE_NAME:-silverblue}" | ||
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-37}" | ||
ARG NVIDIA_MAJOR_VERSION="${NVIDIA_MAJOR_VERSION:-535}" | ||
|
||
COPY install.sh /tmp/install.sh | ||
COPY post-install.sh /tmp/post-install.sh | ||
|
||
COPY --from=ghcr.io/ublue-os/akmods-nvidia:${FEDORA_MAJOR_VERSION}-${NVIDIA_MAJOR_VERSION} /rpms /tmp/akmods-rpms | ||
|
||
RUN /tmp/install.sh | ||
RUN /tmp/post-install.sh | ||
RUN rm -rf /tmp/* /var/* | ||
RUN ostree container commit | ||
RUN mkdir -p /var/tmp && chmod -R 1777 /tmp /var/tmp |
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.