Skip to content

Commit

Permalink
package/zfs: bump version to 2.1.4
Browse files Browse the repository at this point in the history
Removed 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
because is already merged.

Select libcurl as required dependency, because keylocation now
supports https. OpenSSL was already a dependency, so libcurl will be
built with https support.

Add upstream patch to support uClibc.

We update the test cases to use the latest LTS kernel, 5.15.x.

Signed-off-by: José Luis Salvador Rufo <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
  • Loading branch information
jlsalvador authored and arnout committed Apr 25, 2022
1 parent 2b71d2e commit 68dfd09
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 113 deletions.
106 changes: 0 additions & 106 deletions package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch

This file was deleted.

1 change: 1 addition & 0 deletions package/zfs/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ config BR2_PACKAGE_ZFS
select BR2_PACKAGE_LIBAIO
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_LIBCURL
help
OpenZFS on Linux and FreeBSD

Expand Down
5 changes: 3 additions & 2 deletions package/zfs/zfs.hash
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# From https://github.com/openzfs/zfs/releases/download/zfs-2.0.5/zfs-2.0.5.sha256.asc
sha256 3a17498d704ebf4c5d7231660f6fb44ae07a1545519f567452a4270851a86ec9 zfs-2.0.5.tar.gz
# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.4/zfs-2.1.4.sha256.asc
sha256 3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6 zfs-2.1.4.tar.gz
sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch

# Hash for license files:
sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE
Expand Down
6 changes: 3 additions & 3 deletions package/zfs/zfs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
#
################################################################################

ZFS_VERSION = 2.0.5
ZFS_VERSION = 2.1.4
ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION)
ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
ZFS_LICENSE = CDDL
ZFS_LICENSE_FILES = LICENSE COPYRIGHT
ZFS_CPE_ID_VENDOR = openzfs
ZFS_CPE_ID_PRODUCT = openzfs

# 0001-Correct-a-flaw-in-the-Python-3-version-checking.patch
ZFS_AUTORECONF = YES

ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib
ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib libcurl

# sysvinit installs only a commented-out modules-load.d/ config file
ZFS_CONF_OPTS = \
Expand Down
4 changes: 2 additions & 2 deletions support/testing/tests/package/test_zfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class TestZfsGlibc(infra.basetest.BRTest):
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
BR2_PACKAGE_ZFS=y
Expand Down Expand Up @@ -70,7 +70,7 @@ class TestZfsUclibc(infra.basetest.BRTest):
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.35"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config"
BR2_PACKAGE_ZFS=y
Expand Down

0 comments on commit 68dfd09

Please sign in to comment.