meson: add min version for libfdisk
Was trying to run src/partition/test-repart.sh on CentOS 8 and the first
resize call kept failing with ERANGE. Turned out that CentOS 8 comes
with libfdisk-devel-2.32.1 which is missing
2f35c1ead6
(in libfdisk 2.33 and up).
This commit is contained in:
parent
9c23ce7363
commit
e71f5585b9
1
README
1
README
|
@ -151,6 +151,7 @@ REQUIREMENTS:
|
||||||
libcryptsetup (optional), >= 2.3.0 required for signed Verity images support
|
libcryptsetup (optional), >= 2.3.0 required for signed Verity images support
|
||||||
libaudit (optional)
|
libaudit (optional)
|
||||||
libacl (optional)
|
libacl (optional)
|
||||||
|
libfdisk >= 2.33 (from util-linux) (optional)
|
||||||
libselinux (optional)
|
libselinux (optional)
|
||||||
liblzma (optional)
|
liblzma (optional)
|
||||||
liblz4 >= 1.3.0 / 130 (optional)
|
liblz4 >= 1.3.0 / 130 (optional)
|
||||||
|
|
|
@ -890,6 +890,7 @@ libmount = dependency('mount',
|
||||||
want_libfdisk = get_option('fdisk')
|
want_libfdisk = get_option('fdisk')
|
||||||
if want_libfdisk != 'false' and not skip_deps
|
if want_libfdisk != 'false' and not skip_deps
|
||||||
libfdisk = dependency('fdisk',
|
libfdisk = dependency('fdisk',
|
||||||
|
version : '>= 2.33',
|
||||||
required : want_libfdisk == 'true')
|
required : want_libfdisk == 'true')
|
||||||
have = libfdisk.found()
|
have = libfdisk.found()
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue