Skip to content

Commit

Permalink
build-sys: require libmount >= 2.30 (#6795)
Browse files Browse the repository at this point in the history
Fixes #4871.

The new libmount has two changes relevant for us:

- x-* options are propagated to /run/mount/utab and are visible through
  libmount (fixes #4817).

- umount -c now really works (partially solves #6115).
  • Loading branch information
keszybz committed Sep 15, 2017
1 parent 2e70637 commit d6e8096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,8 @@ REQUIREMENTS:

glibc >= 2.16
libcap
libmount >= 2.27.1 (from util-linux)
(util-linux < 2.29 *must* be built with --enable-libmount-force-mountinfo,
and later versions without --enable-libmount-support-mtab.)
libmount >= 2.30 (from util-linux)
(util-linux *must* be built without --enable-libmount-support-mtab)
libseccomp >= 2.3.1 (optional)
libblkid >= 2.24 (from util-linux) (optional)
libkmod >= 15 (optional)
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ if not libcap.found()
endif

libmount = dependency('mount',
version : '>= 2.27')
version : '>= 2.30')

want_seccomp = get_option('seccomp')
if want_seccomp != 'false'
Expand Down

0 comments on commit d6e8096

Please sign in to comment.