]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: fix switch_root/pivot_root cut-n-paste error in configure.ac
authorAndreas Henriksson <andreas@fatal.se>
Wed, 23 Jul 2014 17:39:02 +0000 (19:39 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 24 Jul 2014 10:13:06 +0000 (12:13 +0200)
The "linux only" check for pivot_root seems to suffer from
a cut-n-paste problem from the earlier switch_root part.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
configure.ac

index db53dff67580b1468a528aa01c8f0aa734a59bfb..aae2456d59ede6dffd5e3db895c958d9f50075f0 100644 (file)
@@ -1193,7 +1193,7 @@ AC_ARG_ENABLE([pivot_root],
   [], [UL_DEFAULT_ENABLE([pivot_root], [check])]
 )
 UL_BUILD_INIT([pivot_root])
-UL_REQUIRES_LINUX([switch_root])
+UL_REQUIRES_LINUX([pivot_root])
 UL_REQUIRES_SYSCALL_CHECK([pivot_root], [UL_CHECK_SYSCALL([pivot_root])])
 AM_CONDITIONAL([BUILD_PIVOT_ROOT], [test "x$build_pivot_root" = xyes])