Skip to content

Commit

Permalink
package/zfs: bump version to 2.2.0
Browse files Browse the repository at this point in the history
Removed backported patch:
- https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch

Updated ZFS test to pass this new version; drop the explicit /pool
mountpoint option to rely on the default location (which happens to be
/pool already).

Signed-off-by: José Luis Salvador Rufo <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
  • Loading branch information
jlsalvador authored and yann-morin-1998 committed Nov 18, 2023
1 parent b6d4b01 commit d153e58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions package/zfs/zfs.hash
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# From https://github.com/openzfs/zfs/releases/download/zfs-2.1.12/zfs-2.1.12.sha256.asc
sha256 64daa26aed3e12c931f6f4413d7527c4ebdb8da35416b356152b5f9fdd4c6e6d zfs-2.1.12.tar.gz
sha256 96a27353fe717ff2c8b95deb8b009c4eb750303c6400e2d8a2582ab1ec12b25a bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
# Locally computed
sha256 42035fd059faa25a09cd511b24a57b8ad1285cb69127f2a0043b98562c5ec690 zfs-2.2.0.tar.gz

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

ZFS_VERSION = 2.1.12
ZFS_VERSION = 2.2.0
ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION)
ZFS_PATCH = https://github.com/openzfs/zfs/commit/bc3f12bfac152a0c28951cec92340ba14f9ccee9.patch
ZFS_SELINUX_MODULES = zfs
ZFS_LICENSE = CDDL
ZFS_LICENSE_FILES = LICENSE COPYRIGHT
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 @@ -40,11 +40,11 @@ def base_test_run(self):

cmds = [
# Init
"modprobe zfs",
"modprobe zfs && sleep 2",
"mount -o remount,size=132M /tmp",
"fallocate -l 64M /tmp/container1.raw",
"fallocate -l 64M /tmp/container2.raw",
"zpool create -m /pool pool raidz /tmp/container1.raw /tmp/container2.raw",
"zpool create pool raidz /tmp/container1.raw /tmp/container2.raw",
"dd if=/dev/urandom bs=1M count=8 of=/pool/urandom",
"sha256sum /pool/urandom > /tmp/urandom.sha256",
# Check ZFS
Expand Down

0 comments on commit d153e58

Please sign in to comment.