[lxc-devel] [PATCH 1/1] remove HAVE_NEWUIDMAP and NEWUIDMAP
Stéphane Graber
stgraber at ubuntu.com
Fri Nov 22 04:41:55 UTC 2013
On Thu, Nov 21, 2013 at 10:11:43PM -0600, Serge Hallyn wrote:
> 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 at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
> ---
> configure.ac | 4 ----
> src/lxc/Makefile.am | 11 ++---------
> 2 files changed, 2 insertions(+), 13 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index e85e558..5091d69 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -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])],
> diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
> index 8baf169..59f3810 100644
> --- a/src/lxc/Makefile.am
> +++ b/src/lxc/Makefile.am
> @@ -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
> --
> 1.8.4.3
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131121/8472067f/attachment.pgp>
More information about the lxc-devel
mailing list