From 6d4afbc59dbc278065b7a1b483411b2dc39c347a Mon Sep 17 00:00:00 2001 From: joshua-stone Date: Fri, 24 Feb 2023 11:53:58 -0500 Subject: [PATCH] feat: Add Nvidia 470xx support (#48) * docs: Add more info about how to rollback or rebase * feat: Enable nvidia 470xx driver support * docs: Add more info about how to rollback or rebase * fix: Disable 470xx driver support in F38 to avoid failing builds --- .github/workflows/build.yml | 4 +++- README.md | 26 ++++++++++++++++++-------- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48fc6b2..e195324 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: matrix: image_name: [silverblue, kinoite, vauxite, sericea, base] major_version: [37, 38] - driver_version: [520, 525] + driver_version: [520, 525, 470] include: # - major_version: 36 # is_latest_version: false @@ -49,6 +49,8 @@ jobs: major_version: 37 - driver_version: 520 major_version: 38 + - driver_version: 470 + major_version: 38 steps: # Checkout push-to-registry action GitHub repository - name: Checkout Push to Registry action diff --git a/README.md b/README.md index df96125..f321e70 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,10 @@ Note: This project is a work-in-progress. You should at a minimum be familiar wi Note: The Fedora release and Nvidia version can be set with the image tag as well: - | | 525xx series | 520xx series | - |-----|---------------------------------------|---------------| - | F37 | :latest / :37 / :37-525 / :37-current | :37-520 | - | F38 | :38 / :38-525 / :38-current | | + | | 525xx series | 520xx series | 470xx series (Kepler 2012-2014 support) | + |-----|---------------------------------------|---------------|-----------------------------------------| + | F37 | :latest / :37 / :37-525 / :37-current | :37-520 | :37-470 | + | F38 | :38 / :38-525 / :38-current | | | 2. Set kargs after rebasing @@ -76,12 +76,22 @@ Alternatively, the key can be enrolled from within this repo: sudo mokutil --import ./certs/public_key.der ``` -## Rolling back +## Rolling back and rebasing - To rollback to a specific date, use a date tag: + Generally you can [perform a rollback](https://docs.fedoraproject.org/en-US/fedora-silverblue/updates-upgrades-rollbacks/#rolling-back) with the following: + + rpm-ostree rollback + + To rebase onto a specific date, use a date tag: + + rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/silverblue-nvidia:20230128 + + Or to rebase onto a specific release, driver, and date: + + rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/silverblue-nvidia:37-525-20230128 + + [More options for image tags can be found on the container catalog.](https://github.com/ublue-os/nvidia/pkgs/container/silverblue-nvidia/versions) - rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/nvidia:20230128 - ## Verification These images are signed with sisgstore's [cosign](https://docs.sigstore.dev/cosign/overview/). You can verify the signature by downloading the `cosign.pub` key from this repo and running the following command: