From c08262d8b2b005c3a4174522a956a3a36e3dcadf Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Thu, 7 Nov 2024 15:25:20 +0400 Subject: [PATCH] feat: update gcc to 14.2, bump NVIDIA driver versions Bump NVIDIA driver versions to match the `pkgs`. Signed-off-by: Andrey Smirnov --- .kres.yaml | 2 +- Makefile | 4 ++-- hack/release.toml | 2 ++ .../nvidia-container-toolkit/nvidia-pkgs/lts/pkg.yaml | 8 ++++---- .../nvidia-pkgs/production/pkg.yaml | 8 ++++---- nvidia-gpu/nvidia-fabricmanager/lts/pkg.yaml | 8 ++++---- .../production/{lts => }/manifest.yaml | 0 .../production/{lts => }/nvidia-fabricmanager.yaml | 0 .../nvidia-fabricmanager/production/{lts => }/pkg.yaml | 8 ++++---- .../nvidia-fabricmanager/production/{lts => }/vars.yaml | 0 nvidia-gpu/vars.yaml | 4 ++-- power/nut-client/patches/replace_system.patch | 2 +- 12 files changed, 24 insertions(+), 22 deletions(-) rename nvidia-gpu/nvidia-fabricmanager/production/{lts => }/manifest.yaml (100%) rename nvidia-gpu/nvidia-fabricmanager/production/{lts => }/nvidia-fabricmanager.yaml (100%) rename nvidia-gpu/nvidia-fabricmanager/production/{lts => }/pkg.yaml (85%) rename nvidia-gpu/nvidia-fabricmanager/production/{lts => }/vars.yaml (100%) diff --git a/.kres.yaml b/.kres.yaml index 396c460b..1d68ce7c 100644 --- a/.kres.yaml +++ b/.kres.yaml @@ -63,7 +63,7 @@ spec: - name: EXTENSIONS_IMAGE_REF defaultValue: $(REGISTRY_AND_USERNAME)/extensions:$(TAG) - name: PKGS - defaultValue: v1.9.0-alpha.0-28-g38304a6 + defaultValue: v1.9.0-alpha.0-37-g4699763 - name: PKGS_PREFIX defaultValue: ghcr.io/siderolabs useBldrPkgTagResolver: true diff --git a/Makefile b/Makefile index 43a4b876..c43fd232 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-11-06T23:11:48Z by kres 1fc767a. +# Generated on 2024-11-07T11:26:53Z by kres 1fc767a. # common variables @@ -49,7 +49,7 @@ COMMON_ARGS += --build-arg=PKGS_PREFIX="$(PKGS_PREFIX)" # extra variables EXTENSIONS_IMAGE_REF ?= $(REGISTRY_AND_USERNAME)/extensions:$(TAG) -PKGS ?= v1.9.0-alpha.0-28-g38304a6 +PKGS ?= v1.9.0-alpha.0-37-g4699763 PKGS_PREFIX ?= ghcr.io/siderolabs # targets defines all the available targets diff --git a/hack/release.toml b/hack/release.toml index f0f30c50..3df2cd37 100644 --- a/hack/release.toml +++ b/hack/release.toml @@ -31,6 +31,8 @@ gvisor: 20241007.0 spin: 0.16.0 ecr-credential-provider: 1.31.1 Intel microcode: 20241029 +NVIDIA LTS: 535.216.01 +NVIDIA Production: 550.127.05 """ [make_deps] diff --git a/nvidia-gpu/nvidia-container-toolkit/nvidia-pkgs/lts/pkg.yaml b/nvidia-gpu/nvidia-container-toolkit/nvidia-pkgs/lts/pkg.yaml index 9bd14e3c..b367169b 100644 --- a/nvidia-gpu/nvidia-container-toolkit/nvidia-pkgs/lts/pkg.yaml +++ b/nvidia-gpu/nvidia-container-toolkit/nvidia-pkgs/lts/pkg.yaml @@ -13,13 +13,13 @@ steps: # {{ if eq .ARCH "aarch64" }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://developer.download.nvidia.com/compute/nvidia-driver/redist/nvidia_driver/linux-sbsa/nvidia_driver-linux-sbsa-{{ .NVIDIA_DRIVER_LTS_VERSION }}-archive.tar.xz destination: nvidia.tar.xz - sha256: 970be3ae71332ca008f3e6589ae44a70aeffb9e29382980114e47b8fce7790d1 - sha512: bd730a51a77d897509381ecb22eb21a9f4e0c2419288f1c1c26f8ef00e887b1cc09718d1d4c9d613912560e48185ff03ea221865be5c0e590a20868c45a8ea00 + sha256: 83e018efc0952824d6b907dd30cf84d1c93652d142c3fff5ca3859c44de24d1b + sha512: c1a59402590860f68ee30df23179cb9245ecd772b8845d0c2fcc28a544a56ba7ec688d7071cebc8dff826dc11fc192b3141f9a2481ba6c3693f28c5835f50416 # {{ else }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://developer.download.nvidia.com/compute/nvidia-driver/redist/nvidia_driver/linux-x86_64/nvidia_driver-linux-x86_64-{{ .NVIDIA_DRIVER_LTS_VERSION }}-archive.tar.xz destination: nvidia.tar.xz - sha256: e66527c5c016d0bee9050a7a8573e38be86aad58adee2f40e808c88a4d0c6e90 - sha512: 71624903e9d57a3f8a5dc7ffb2435991fe787b0609096e0e146d03ffef54bdb145940e8717510aa87cd6407c860e22938c840c126db7d4469c265f202db35e18 + sha256: 44893fa59f87d20fee7c15573c17d7701ceb96e29a44013ee79fde30b245d045 + sha512: d8ecaa0eef65aa2768eac41e836fe731c89431a8b2cd910962ab749c204701fb925ebca8943ead2e0456dc6b8568243349fb1e29c208216a17bdddb62b1f2a2d # {{ end }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr prepare: - | diff --git a/nvidia-gpu/nvidia-container-toolkit/nvidia-pkgs/production/pkg.yaml b/nvidia-gpu/nvidia-container-toolkit/nvidia-pkgs/production/pkg.yaml index 3a7570b8..ca8b92d1 100644 --- a/nvidia-gpu/nvidia-container-toolkit/nvidia-pkgs/production/pkg.yaml +++ b/nvidia-gpu/nvidia-container-toolkit/nvidia-pkgs/production/pkg.yaml @@ -13,13 +13,13 @@ steps: # {{ if eq .ARCH "aarch64" }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://developer.download.nvidia.com/compute/nvidia-driver/redist/nvidia_driver/linux-sbsa/nvidia_driver-linux-sbsa-{{ .NVIDIA_DRIVER_PRODUCTION_VERSION }}-archive.tar.xz destination: nvidia.tar.xz - sha256: dd2892ac0c97abe69dd9ccb5e09d2fd5b5ce010c64ce5eb0950a0f6fceb9b4dc - sha512: 9c1466d9ea09a01dda4de0a2b3270cc6a5093636554eadfb58c3e2957e053592f7d628c3d5b31dbb36702e187561cb7f955e9bf2ddb1adb28e7ca4568d39a0f0 + sha256: 8a516f5ee8524b2bd5669f78cdddc55c792d9409a754c8ec655880595e96dd74 + sha512: fd4445750d53ff63320d9e44db48f90d3b415516fcedf7f88dafd2694d4d000c2fcb44be161396564328f33a0ce8d92e127aa14948f783403513a14d2c972194 # {{ else }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://developer.download.nvidia.com/compute/nvidia-driver/redist/nvidia_driver/linux-x86_64/nvidia_driver-linux-x86_64-{{ .NVIDIA_DRIVER_PRODUCTION_VERSION }}-archive.tar.xz destination: nvidia.tar.xz - sha256: 7959e9e0e15863c9242f8a0bda0b3b67b39701956890ff159961f59e89f92158 - sha512: 89a4249bce2c15af56911afa6998c355d6522e2e7493e80ed9241a9d5009ccf2522bf7bceffc03673600bbfd0d89f3a46a3c21fb0f4977e6dc674648b4c6caea + sha256: 3300904745fd4ff4b74f8d978601b9b8e8b15f4aaee47101ce7bfe3cb2e9ebf3 + sha512: 7135a87f8666e980fd80dda4d6407736af54a8b25dfc91417aced7e86379079a5e6ae44313982bb62631e66bb6744cdd11b3143807e88ec530adb7e6e1cdcf51 # {{ end }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr prepare: - | diff --git a/nvidia-gpu/nvidia-fabricmanager/lts/pkg.yaml b/nvidia-gpu/nvidia-fabricmanager/lts/pkg.yaml index 9cb7a877..e15959b0 100644 --- a/nvidia-gpu/nvidia-fabricmanager/lts/pkg.yaml +++ b/nvidia-gpu/nvidia-fabricmanager/lts/pkg.yaml @@ -8,13 +8,13 @@ steps: # {{ if eq .ARCH "aarch64" }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://developer.download.nvidia.com/compute/nvidia-driver/redist/fabricmanager/linux-sbsa/fabricmanager-linux-sbsa-{{ .NVIDIA_DRIVER_LTS_VERSION }}-archive.tar.xz destination: fabricmanager.tar.xz - sha256: 235ed7e0a55215ec4d0467fe73f71445622debca87bdb990bf582e022d38d699 - sha512: c1d4b8983e274be5c881664e44ba558e0d7c92560a9058adaa158f5a88df2e40b6b4b95c555accd672e9aa366b2e9c0b945d5d9f320150791aea844b07db5bf0 + sha256: ba5c4aa32b484e7568987b391158a8c716be3bc89c908294b495223cda089bfe + sha512: 322ef4e260e79085e0258fdbfcf30275633ed747d1d374403bb2878804a2e9bc9e5936ed3d9b8078f9bd4dcced4a7022da4d43123b638724fee5a8e818ed2839 # {{ else }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://developer.download.nvidia.com/compute/nvidia-driver/redist/fabricmanager/linux-x86_64/fabricmanager-linux-x86_64-{{ .NVIDIA_DRIVER_LTS_VERSION }}-archive.tar.xz destination: fabricmanager.tar.xz - sha256: a4d1ead61c684d2b83edbedbb09869b9cfa7a83838ea8210985a519fa36c9834 - sha512: 1cd3a4662da46210695a759be6f962754d5168a72e1376b1a9d8464f80829519a0fc4498474009a426264ef17a8569a587e37560760a599068794705cf3fdcc7 + sha256: c7f82b339c7f941011ba9779a62028ba97bc2a469ce3b1ec0e277c82e9fb1c06 + sha512: eac0ae22c88c0ecd89096aa0a262dcf75950e7b9920476b6bcfc1af2fdfa07fa3564609e5fcd509ed5b836e5f2dd54848453ddcca181fc7b2f0c7a05fd84657c # {{ end }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr prepare: - | diff --git a/nvidia-gpu/nvidia-fabricmanager/production/lts/manifest.yaml b/nvidia-gpu/nvidia-fabricmanager/production/manifest.yaml similarity index 100% rename from nvidia-gpu/nvidia-fabricmanager/production/lts/manifest.yaml rename to nvidia-gpu/nvidia-fabricmanager/production/manifest.yaml diff --git a/nvidia-gpu/nvidia-fabricmanager/production/lts/nvidia-fabricmanager.yaml b/nvidia-gpu/nvidia-fabricmanager/production/nvidia-fabricmanager.yaml similarity index 100% rename from nvidia-gpu/nvidia-fabricmanager/production/lts/nvidia-fabricmanager.yaml rename to nvidia-gpu/nvidia-fabricmanager/production/nvidia-fabricmanager.yaml diff --git a/nvidia-gpu/nvidia-fabricmanager/production/lts/pkg.yaml b/nvidia-gpu/nvidia-fabricmanager/production/pkg.yaml similarity index 85% rename from nvidia-gpu/nvidia-fabricmanager/production/lts/pkg.yaml rename to nvidia-gpu/nvidia-fabricmanager/production/pkg.yaml index c07d2f62..4aa7d52d 100644 --- a/nvidia-gpu/nvidia-fabricmanager/production/lts/pkg.yaml +++ b/nvidia-gpu/nvidia-fabricmanager/production/pkg.yaml @@ -8,13 +8,13 @@ steps: # {{ if eq .ARCH "aarch64" }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://developer.download.nvidia.com/compute/nvidia-driver/redist/fabricmanager/linux-sbsa/fabricmanager-linux-sbsa-{{ .NVIDIA_DRIVER_PRODUCTION_VERSION }}-archive.tar.xz destination: fabricmanager.tar.xz - sha256: c9760f6f1c582fd43ea15b93ca66dd368459432a39338f648c585d32514ab6d6 - sha512: 9b0b6b7c8ce19f5a7408d338ebf123b2a5a8184d20590ee82744f44b182fbc555c43b2278cade063836493f2162cdfa2d984466a05956c95cbe4f0c172589422 + sha256: 730a0fdde2f0c678d67bdaa8f5e456ef465cf6b9e1c40469b32c78bb6a7ea460 + sha512: b6da81fe7385aec21e9edc71d9125e6bdfa9debc9ff937a9179c623f554d45dfe9b56a7b0d6553f52ee959e86b11ed12279f28a2dc851d784705952bfbe19ec1 # {{ else }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://developer.download.nvidia.com/compute/nvidia-driver/redist/fabricmanager/linux-x86_64/fabricmanager-linux-x86_64-{{ .NVIDIA_DRIVER_PRODUCTION_VERSION }}-archive.tar.xz destination: fabricmanager.tar.xz - sha256: 034c04ca2a6ce6a5d49bf293b969618609c90470e620fee97ec76cac1f4471f7 - sha512: 6af90b415d82e448d81416daa36cb4588be6f796f53a3e04a1466a32c46212598ba3c60a96b4c066cde7af881a41f88f4f2015c499dedeed3c0d59611e0d6b21 + sha256: 1fea10ae4cc51b29ba2adaf940563d5b8307ac14148afae9eeb781fbb47d4957 + sha512: 46678321e7e6bbca630760c059f30228d6ea0f9e0642068c806912e24caca1f3290d14a6e3979657f6dc5e93c6aabeead9c1c5b8710a98605417e590d3ec6206 # {{ end }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr prepare: - | diff --git a/nvidia-gpu/nvidia-fabricmanager/production/lts/vars.yaml b/nvidia-gpu/nvidia-fabricmanager/production/vars.yaml similarity index 100% rename from nvidia-gpu/nvidia-fabricmanager/production/lts/vars.yaml rename to nvidia-gpu/nvidia-fabricmanager/production/vars.yaml diff --git a/nvidia-gpu/vars.yaml b/nvidia-gpu/vars.yaml index b7e14abf..4bd6fc3a 100644 --- a/nvidia-gpu/vars.yaml +++ b/nvidia-gpu/vars.yaml @@ -1,8 +1,8 @@ # only update if there's a matching fabric manager version # renovate: datasource=github-releases extractVersion=^\d+\.(?\d+\.\d+)$ depName=nvidia/open-gpu-kernel-modules -NVIDIA_DRIVER_LTS_VERSION: 535.183.06 +NVIDIA_DRIVER_LTS_VERSION: 535.216.01 # renovate: datasource=github-releases extractVersion=^\d+\.(?\d+\.\d+)$ depName=nvidia/open-gpu-kernel-modules -NVIDIA_DRIVER_PRODUCTION_VERSION: 550.90.07 +NVIDIA_DRIVER_PRODUCTION_VERSION: 550.127.05 # renovate: datasource=github-releases depName=nvidia/nvidia-container-toolkit CONTAINER_TOOLKIT_VERSION: v1.16.1 CONTAINER_TOOLKIT_REF: a470818ba7d9166be282cd0039dd2fc9b0a34d73 diff --git a/power/nut-client/patches/replace_system.patch b/power/nut-client/patches/replace_system.patch index 55c3fc93..59e395fe 100644 --- a/power/nut-client/patches/replace_system.patch +++ b/power/nut-client/patches/replace_system.patch @@ -19,7 +19,7 @@ + const char *env[] = {NULL}; + + pid_t pid = 0; -+ int sret = posix_spawn(&pid, cmd, NULL, NULL, argv, env); ++ int sret = posix_spawn(&pid, cmd, NULL, NULL, (char * const *)(argv), (char * const *)(env)); + if (sret != 0) + return -1; +