From f5082ab00183c43b64700ed1dc1175fdeeeefe1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Fri, 4 Jun 2021 19:27:54 -0300 Subject: [PATCH] btrfs-progs: downgrade to 5.11.1. Fixes issues with older kernels (at least <=4.19): ENOTTY for ioctl(BLKGETZONESZ) causes `btrfs device scan` to error out and dump users to an emergency shell during boot. We are moving to 5.11.1 instead of reverting the 5.12.1 commit (which would be a downgrade to 5.10), because 5.11* picked up a few bug fixes that are nice to have. Fixes #31275 Upstream issue: https://github.com/kdave/btrfs-progs/issues/376 Also closes #31288 by leaving a comment about the license change. --- srcpkgs/btrfs-progs/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/btrfs-progs/template b/srcpkgs/btrfs-progs/template index 931abeb7fff..c159c864fde 100644 --- a/srcpkgs/btrfs-progs/template +++ b/srcpkgs/btrfs-progs/template @@ -1,6 +1,8 @@ # Template file for 'btrfs-progs' +# XXX: >=5.12 moves to LGPL-2.1-or-later pkgname=btrfs-progs -version=5.12.1 +reverts="5.12.1_1" +version=5.11.1 revision=1 wrksrc="${pkgname}-v${version}" build_style=gnu-configure @@ -16,7 +18,7 @@ license="GPL-2.0-only, LGPL-3.0-or-later" homepage="https://btrfs.wiki.kernel.org/index.php/Main_Page" changelog="https://raw.githubusercontent.com/kdave/btrfs-progs/master/CHANGES" distfiles="${KERNEL_SITE}/kernel/people/kdave/${pkgname}/${pkgname}-v${version}.tar.xz" -checksum=950846fea454fb4b1c39f0fa454983644572df91df5c06047b335bf2d5473759 +checksum=e3aaccc4756ec4e5502cb2a9f85b67d52896644f4c3c0f88a6bc598c70bdebfe # Most of the tests depend on `mount` and `fallocate` commands, which are not # presented in chroot-util-linux make_check=no