]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
remove HAVE_NEWUIDMAP and NEWUIDMAP
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 22 Nov 2013 04:11:43 +0000 (22:11 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 22 Nov 2013 14:32:37 +0000 (08:32 -0600)
Always build lxc-usernsexec.  Else we require having uidmap
installed on the build host for no good reason.  And we never
actually used the NEWUIDMAP path we detected.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
configure.ac
src/lxc/Makefile.am

index e85e55898fcf5edc15f8f29633c05891d7943b8f..5091d69d0d68d426b0de25535a77f07800bc85f0 100644 (file)
@@ -64,10 +64,6 @@ AC_MSG_RESULT([$with_distro])
 AM_CONDITIONAL([HAVE_DEBIAN], [test x"$with_distro" = "xdebian" -o x"$with_distro" = "xubuntu"])
 AM_CONDITIONAL([DISTRO_UBUNTU], [test "x$with_distro" = "xubuntu"])
 
-# Detect the newuidmap tool (required for userns)
-AC_CHECK_PROG([NEWUIDMAP], [newuidmap], [newuidmap])
-AM_CONDITIONAL([HAVE_NEWUIDMAP], [test -n "$NEWUIDMAP"])
-
 # Allow disabling rpath
 AC_ARG_ENABLE([rpath],
        [AC_HELP_STRING([--disable-rpath], [do not set rpath in executables])],
index 8baf1698d63598fed6f502b296481c07c2f9c436..59f381008d03d19da6997e9edff6252d230c1da6 100644 (file)
@@ -124,10 +124,6 @@ if ENABLE_SELINUX
 AM_CFLAGS += -DHAVE_SELINUX
 endif
 
-if HAVE_NEWUIDMAP
-AM_CFLAGS += -DHAVE_NEWUIDMAP
-endif
-
 if USE_CONFIGPATH_LOGS
 AM_CFLAGS += -DUSE_CONFIGPATH_LOGS
 endif
@@ -190,11 +186,8 @@ bin_PROGRAMS = \
        lxc-destroy \
        lxc-create \
        lxc-user-nic \
-       lxc-snapshot
-
-if HAVE_NEWUIDMAP
-bin_PROGRAMS += lxc-usernsexec
-endif
+       lxc-snapshot \
+       lxc-usernsexec
 
 pkglibexec_PROGRAMS = \
        lxc-init