]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: Drop required libfdisk version to 2.32
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 24 Feb 2022 13:29:54 +0000 (13:29 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 24 Feb 2022 20:06:55 +0000 (20:06 +0000)
We initially pinned this to 2.33 in
e71f5585b9b0580428f9530d0a485265c9c25165 because libfdisk 2.32 in
CentOS 8 didn't have
https://github.com/karelzak/util-linux/commit/2f35c1ead621f42f32f7777232568cb03185b473
backported.

If we check now, we can see it has been backported
(https://git.centos.org/rpms/util-linux/blob/c8s/f/SOURCES/0048-libfdisk-count-gaps-to-possible-size-when-resize.patch)
which means we can drop the required version to 2.32 instead of 2.33.

README
meson.build

diff --git a/README b/README
index 1ae9dd3500edfd72a2e61dd402ab9c73198c2bb5..bbde47fda72fb94995055435c6e81380d58ec337 100644 (file)
--- a/README
+++ b/README
@@ -177,7 +177,7 @@ REQUIREMENTS:
         libaudit (optional)
         libacl (optional)
         libbpf >= 0.2.0 (optional)
-        libfdisk >= 2.33 (from util-linux) (optional)
+        libfdisk >= 2.32 (from util-linux) (optional)
         libselinux (optional)
         liblzma (optional)
         liblz4 >= 1.3.0 / 130 (optional)
index 371a9ce751b3d8d883eed419d90089dd0d17fdfa..905ed07f758005a90fcdd5589238cc77a698cf96 100644 (file)
@@ -1052,7 +1052,7 @@ libmount = dependency('mount',
 want_libfdisk = get_option('fdisk')
 if want_libfdisk != 'false' and not skip_deps
         libfdisk = dependency('fdisk',
-                              version : '>= 2.33',
+                              version : '>= 2.32',
                               required : want_libfdisk == 'true')
         have = libfdisk.found()
 else