From 822a2accc69ffe6650e63b76fc331699daff40ab Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 28 Nov 2023 19:28:14 +0400 Subject: [PATCH] feat: bump dependencies ``` | Package | Update | Change | |---|---|---| | git://git.openssl.org/openssl.git | minor | `3.1.4` -> `3.2.0` | | https://github.com/ipxe/ipxe.git | digest | `115707c` -> `a147245` | | [nvidia/open-gpu-kernel-modules](https://togithub.com/nvidia/open-gpu-kernel-modules) | minor | `535.54.03` -> `535.129.03` | ``` Signed-off-by: Andrey Smirnov --- Pkgfile | 20 +++++++++--------- musl/patches/elf.h-add-typedefs.patch | 30 +++++++++++++++++++++++++++ musl/pkg.yaml | 2 ++ nonfree/kmod-nvidia/pkg.yaml | 8 +++---- 4 files changed, 46 insertions(+), 14 deletions(-) create mode 100644 musl/patches/elf.h-add-typedefs.patch diff --git a/Pkgfile b/Pkgfile index a58ea5243..0671b216c 100644 --- a/Pkgfile +++ b/Pkgfile @@ -3,7 +3,7 @@ format: v1alpha2 vars: - TOOLS_IMAGE: ghcr.io/siderolabs/tools:v1.6.0-alpha.0-12-gff7fe96 + TOOLS_IMAGE: ghcr.io/siderolabs/tools:v1.6.0 # renovate: datasource=github-releases depName=containernetworking/plugins cni_version: v1.3.0 @@ -63,9 +63,9 @@ vars: iptables_sha512: 71e6ed2260859157d61981a4fe5039dc9e8d7da885a626a4b5dae8164c509a9d9f874286b9468bb6a462d6e259d4d32d5967777ecefdd8a293011ae80c00f153 # renovate: datasource=git-refs versioning=git depName=https://github.com/ipxe/ipxe.git - ipxe_ref: 115707c0edebad65f87525fed583fef73880016d - ipxe_sha256: 300f810b19aaa223c90be24c5eb3a755e0de658c65424c251d3ea468762f20d8 - ipxe_sha512: 865d4ab5b7eb3435dcf291e8da046dda5a63ffe9ec35e4ea9cc83c469434c1cd0cf9818e2bb532856494637bfefcd1b017180d17edf7316866d6cd11232f9707 + ipxe_ref: c3dd3168c916f624af1b843515c1305387060611 + ipxe_sha256: 6c975a482e0095be69eb51f2ec4a546d1f7ac046b2208a07bf9c974843f58ed9 + ipxe_sha512: 00dc6f925e3b3f6a92b7b6fc1733a3c022b3af7c11b1c0dd8a36fb383a912fc3f7861fcafbaf385ef8f2bc41da147252ac329faf9c88bdc67d770446fc9bae99 # renovate: datasource=git-tags extractVersion=^v(?.*)$ depName=git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux_version: 6.1.63 @@ -132,14 +132,14 @@ vars: musl_sha512: 498ec5d7941194a8806f4d42f0f6d218c862996ef1398b737d0d06995e0b7a6574b240a48088f6b84016b14b2776fe463f829dcb11149cdfc1023d496b235c55 # renovate: datasource=github-releases depName=nvidia/open-gpu-kernel-modules - nvidia_driver_version: 535.54.03 - nvidia_driver_sha256: 49ed408fc8bad50990fcc094fe3808975edd81490ac3c36be17a987c7cea4ee7 - nvidia_driver_sha512: 23fbaaa671f6f4bd92147c1ec0099cd006efc73297211ffba74d78310c14364de726f84e388c397716c42c854a302948f5bcf9e9bac65ae41f54d34e814cfb60 + nvidia_driver_version: 535.129.03 + nvidia_driver_sha256: 170ee91b6cd6c801bba0de91e0d62af8e574adde38120bc762784755b5a9821d + nvidia_driver_sha512: c8104103f34365b7a20dcebb64e1eb2e64a7b056b44329fa305f81e267759f2b1bb1c09923e617d4f5f4af3be01c3b8e2e6d739f03d4d0f129b31331fec3a4d8 # renovate: datasource=git-tags extractVersion=^openssl-(?.*)$ depName=git://git.openssl.org/openssl.git - openssl_version: 3.1.4 - openssl_sha256: 840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3 - openssl_sha512: a69df4a018f57dee7d8a57c8003a6869eba11f1eaa394518976642a993780d0de3326019e92dea4c679c6c581fef568ea616ec541afc0792800359c606dffcd2 + openssl_version: 3.2.0 + openssl_sha256: 14c826f07c7e433706fb5c69fa9e25dab95684844b4c962a2cf1bf183eb4690e + openssl_sha512: ba3ac38365fd0c50f1eaf1693b6200a0d66f01ff53c2d3bb0358643cd83fc0c61fc3b84c0658cf74b6ae91d7d8a9da7291697bd9be3063ada8a9df879e58ed52 # renovate: datasource=github-tags depName=raspberrypi/firmware raspberrypi_firmware_version: 1.20230405 diff --git a/musl/patches/elf.h-add-typedefs.patch b/musl/patches/elf.h-add-typedefs.patch new file mode 100644 index 000000000..b69017f83 --- /dev/null +++ b/musl/patches/elf.h-add-typedefs.patch @@ -0,0 +1,30 @@ +https://gitlab.alpinelinux.org/alpine/aports/-/raw/master/main/musl/0001-elf.h-add-typedefs-for-Elf-_Relr.patch + +From 981144ebc9ff30b085af107f1337543de7b0bf94 Mon Sep 17 00:00:00 2001 +From: Natanael Copa +Date: Mon, 6 Nov 2023 12:29:16 +0100 +Subject: [PATCH] elf.h: add typedefs for Elf*_Relr + +Add typedefs for Elf32_Relr and Elf64_relr as a follow-up to commit +d32dadd60efb (ldso: support DT_RELR relative relocation format) +--- + include/elf.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/include/elf.h b/include/elf.h +index 23f2c4bc..aa186d9d 100644 +--- a/include/elf.h ++++ b/include/elf.h +@@ -32,6 +32,9 @@ typedef uint16_t Elf64_Section; + typedef Elf32_Half Elf32_Versym; + typedef Elf64_Half Elf64_Versym; + ++typedef Elf32_Word Elf32_Relr; ++typedef Elf64_Xword Elf64_Relr; ++ + #define EI_NIDENT (16) + + typedef struct { +-- +2.42.1 + diff --git a/musl/pkg.yaml b/musl/pkg.yaml index 55b37333a..fbd52bd54 100644 --- a/musl/pkg.yaml +++ b/musl/pkg.yaml @@ -15,6 +15,8 @@ steps: tar -xzf musl.tar.gz --strip-components=1 + patch -p1 < /pkg/patches/elf.h-add-typedefs.patch + mkdir /bin ln -sv /toolchain/bin/bash /bin/sh diff --git a/nonfree/kmod-nvidia/pkg.yaml b/nonfree/kmod-nvidia/pkg.yaml index 4c106ac70..efd4e5f92 100644 --- a/nonfree/kmod-nvidia/pkg.yaml +++ b/nonfree/kmod-nvidia/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://download.nvidia.com/XFree86/Linux-aarch64/{{ .nvidia_driver_version }}/NVIDIA-Linux-aarch64-{{ .nvidia_driver_version }}.run destination: nvidia.run - sha256: 494c56fd9f2c249edb73fca1a334e1f1677680a2ec9e22702a65e1d6d270526f - sha512: 57b06a6fa16838176866c364a8722c546084529ad91c57e979aca7750692127cab1485b5a44aee398c5494782ed987e82f66061aa39e802bc6eefa2b40a33bc3 + sha256: 8ba8d961457a241bcdf91b76d6fe2f36cb473c8bbdb02fb6650a622ce2e85b33 + sha512: 706de7e53b81f909d8bc6a12a39c594754a164c49f5d23c7939dc3abcfc04f5d5b12b7d65762ae574582149a098f06ee5fe95be4f8ad1056a3307a6ce93f3c00 # {{ else }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr - url: https://download.nvidia.com/XFree86/Linux-x86_64/{{ .nvidia_driver_version }}/NVIDIA-Linux-x86_64-{{ .nvidia_driver_version }}.run destination: nvidia.run - sha256: 454764f57ea1b9e19166a370f78be10e71f0626438fb197f726dc3caf05b4082 - sha512: 45b72b34272d3df14b56136bb61537d00145d55734b72d58390af4694d96f03b2b49433beb4a5bede4d978442b707b08e05f2f31b2fcfd9453091e7f0b945cff + sha256: e6dca5626a2608c6bb2a046cfcb7c1af338b9e961a7dd90ac09bb8a126ff002e + sha512: 3d7142658fe836e1debf7786857bdb293490ef33351e9b7d39face245fe8596b0f46052b86fae08350fcda1e2a9fd68d7309b94e107d1b016bd529d8fc37e31f # {{ end }} This in fact is YAML comment, but Go templating instruction is evaluated by bldr env: ARCH: {{ if eq .ARCH "aarch64"}}arm64{{ else if eq .ARCH "x86_64" }}x86_64{{ else }}unsupported{{ end }}