Skip to content

Commit 375bf41

Browse files
committed
feat: update for new pkgs, ZFS 2.3.2
Sync with pkgs main. Signed-off-by: Andrey Smirnov <[email protected]> (cherry picked from commit e908223)
1 parent 6d5486c commit 375bf41

File tree

5 files changed

+48
-9
lines changed

5 files changed

+48
-9
lines changed

.kres.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ spec:
7878
- name: EXTENSIONS_IMAGE_REF
7979
defaultValue: $(REGISTRY_AND_USERNAME)/extensions:$(TAG)
8080
- name: PKGS
81-
defaultValue: v1.10.0-8-g13e9f09
81+
defaultValue: v1.10.0-12-gb425b44
8282
- name: PKGS_PREFIX
8383
defaultValue: ghcr.io/siderolabs
8484
- name: TOOLS
85-
defaultValue: v1.10.0-1-g67d3f5a
85+
defaultValue: v1.10.0-2-gfa51331
8686
- name: TOOLS_PREFIX
8787
defaultValue: ghcr.io/siderolabs
8888
useBldrPkgTagResolver: true

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-05-05T11:57:15Z by kres 1a0156b.
3+
# Generated on 2025-05-16T09:14:17Z by kres 5ad3e5f.
44

55
# common variables
66

@@ -50,9 +50,9 @@ COMMON_ARGS += --build-arg=TOOLS_PREFIX="$(TOOLS_PREFIX)"
5050
# extra variables
5151

5252
EXTENSIONS_IMAGE_REF ?= $(REGISTRY_AND_USERNAME)/extensions:$(TAG)
53-
PKGS ?= v1.10.0-8-g13e9f09
53+
PKGS ?= v1.10.0-12-gb425b44
5454
PKGS_PREFIX ?= ghcr.io/siderolabs
55-
TOOLS ?= v1.10.0-1-g67d3f5a
55+
TOOLS ?= v1.10.0-2-gfa51331
5656
TOOLS_PREFIX ?= ghcr.io/siderolabs
5757

5858
# targets defines all the available targets

Pkgfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ vars:
66
CONTAINERD_VERSION: v2.0.5 # update this when updating PKGS_VERSION in Makefile
77
LINUX_FIRMWARE_VERSION: "20250410" # update this when updating PKGS_VERSION in Makefile
88
DRBD_DRIVER_VERSION: 9.2.13 # update this when updating PKGS_VERSION in Makefile
9-
ZFS_DRIVER_VERSION: 2.3.1 # update this when updating PKGS_VERSION in Makefile
10-
ZFS_TOOLS_SHA256: 053233799386920bdc636e22d0e19a8c2c3e642e8bd847ff87e108f8bb1f9006
11-
ZFS_TOOLS_SHA512: 235023dbe97b3f7c5273e2a6fa34957cc37967256845d4ed9faa2e2a6da29ea6fdcba4167658cf03129afbb0aa11311a760d3d0b5ea5aecc64a4c7ee22ad2d31
9+
ZFS_DRIVER_VERSION: 2.3.2 # update this when updating PKGS_VERSION in Makefile
10+
ZFS_TOOLS_SHA256: 80da628a9543ec3355bf410617450e167706948ceb287541455a1b8d87b8758a
11+
ZFS_TOOLS_SHA512: 94311f2eca1488be83aa0cb802b4a4541bbbd061a3e8e5cbda62cabbb0c8f9a705372ad192cb77703b3d7642c43be7f604f3c363b243cf03a6aceae2d7e5db81
1212
UTIL_LINUX_VERSION: 2.40.4 # update this when updating PKGS_VERSION in Makefile
1313
UTIL_LINUX_SHA256: 5c1daf733b04e9859afdc3bd87cc481180ee0f88b5c0946b16fdec931975fb79
1414
UTIL_LINUX_SHA512: 0024955056ba7b4c54040a917f9919f49692e57ba6d42d17a6c29c1eefe88bf48b1214a545072b71c468829a63a8f15237f49733e9127c134e11126d1e435124
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From 634c172ee89f5303493a75dc7ff55e0a355b503a Mon Sep 17 00:00:00 2001
2+
From: =?UTF-8?q?Jos=C3=A9=20Luis=20Salvador=20Rufo?=
3+
4+
Date: Fri, 2 May 2025 23:49:25 +0200
5+
Subject: [PATCH] tests: fix `S_IFMT` undeclared at `statx.c`
6+
MIME-Version: 1.0
7+
Content-Type: text/plain; charset=UTF-8
8+
Content-Transfer-Encoding: 8bit
9+
10+
`S_IFMT` is declared in `sys/stat.h`, but we cannot include this header
11+
because it redeclares the `statx` function with different argument
12+
types. Therefore, we define `S_IFMT` ourselves, in the same way as the
13+
other definitions.
14+
15+
Reviewed-by: Rob Norris <[email protected]>
16+
Reviewed-by: George Melikov <[email protected]>
17+
Reviewed-by: Alexander Motin <[email protected]>
18+
Signed-off-by: José Luis Salvador Rufo <[email protected]>
19+
Closes #17293
20+
Closes #17294
21+
---
22+
tests/zfs-tests/cmd/statx.c | 3 +++
23+
1 file changed, 3 insertions(+)
24+
25+
diff --git a/tests/zfs-tests/cmd/statx.c b/tests/zfs-tests/cmd/statx.c
26+
index 89939f6efb40..1acc7e58c5ce 100644
27+
--- a/tests/zfs-tests/cmd/statx.c
28+
+++ b/tests/zfs-tests/cmd/statx.c
29+
@@ -109,6 +109,9 @@ _statx(int fd, const char *path, int flags, unsigned int mask, void *stx)
30+
#ifndef STATX_DIOALIGN
31+
#define STATX_DIOALIGN (1<<13)
32+
#endif
33+
+#ifndef S_IFMT
34+
+#define S_IFMT 0170000
35+
+#endif
36+
37+
typedef struct {
38+
int64_t tv_sec;

storage/zfs/zfs-tools/pkg.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ steps:
1818
prepare:
1919
- |
2020
tar -xf zfs.tar.gz --strip-components=1
21+
- |
22+
patch -p1 < /pkg/patches/tests-fix-S_IFMT-undeclared-at-statx.c.patch
2123
build:
2224
- |
2325
./configure \
@@ -26,7 +28,6 @@ steps:
2628
--with-udevruledir=/usr/lib/udev/rules.d \
2729
--with-config=user \
2830
--disable-code-coverage \
29-
--disable--sysvinit \
3031
--disable-systemd
3132
3233
make -j $(nproc)

0 commit comments

Comments
 (0)