public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix switch_root/pivot_root cut-n-paste error in configure.ac
@ 2014-07-23 17:39 Andreas Henriksson
  2014-07-24 10:13 ` Karel Zak
  2014-07-24 16:52 ` Dave Reisner
  0 siblings, 2 replies; 7+ messages in thread
From: Andreas Henriksson @ 2014-07-23 17:39 UTC (permalink / raw)
  To: util-linux; +Cc: Andreas Henriksson

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index db53dff..aae2456 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
 
-- 
2.0.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-25  8:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23 17:39 [PATCH] Fix switch_root/pivot_root cut-n-paste error in configure.ac Andreas Henriksson
2014-07-24 10:13 ` Karel Zak
2014-07-24 16:52 ` Dave Reisner
2014-07-24 17:19   ` Andreas Henriksson
2014-07-24 17:26     ` Dave Reisner
2014-07-25  8:45       ` Karel Zak
2014-07-25  8:39   ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox