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.
This commit is contained in:
Érico Nogueira 2021-06-04 19:27:54 -03:00
parent b1fe22e7b3
commit f5082ab001

View file

@ -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