Commit 065c7fcd authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

lxc: bump to version 1.0.4



Also switch to new homepage and github download, and specify distro
variant since host distro != target distro and sample configs for each
case aren't useful anyway.
It sometimes failed to autodetect because some of the tests can't be
executed when cross compiling (happened on gentoo host).

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 88e0ac73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ config BR2_PACKAGE_LXC
	  of a set of processes in a jail by virtualizing and accounting the
	  kernel resources. It is similar to Linux-Vserver or Openvz.

	  http://lxc.sourceforge.net/
	  https://linuxcontainers.org/

comment "lxc needs a toolchain w/ IPv6, threads, largefile"
	depends on BR2_USE_MMU
+16 −0
Original line number Diff line number Diff line
Don't do -Werror it breaks builds on some scenarios with trivialities.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura lxc-lxc-1.0.4/configure.ac lxc-lxc-1.0.4.orig/configure.ac
--- lxc-lxc-1.0.4.orig/configure.ac	2014-07-04 10:31:19.821029891 -0300
+++ lxc-lxc-1.0.4/configure.ac	2014-06-13 14:07:45.000000000 -0300
@@ -560,7 +560,7 @@
 LXC_CHECK_TLS
 
 if test "x$GCC" = "xyes"; then
-	CFLAGS="$CFLAGS -Wall -Werror"
+	CFLAGS="$CFLAGS -Wall"
 fi
 
 # Files requiring some variable expansion
+6 −4
Original line number Diff line number Diff line
@@ -4,11 +4,13 @@
#
################################################################################

LXC_VERSION = 0.9.0
LXC_SITE = http://downloads.sourceforge.net/project/lxc/lxc/lxc-$(LXC_VERSION)
LXC_VERSION = 1.0.4
LXC_SITE = $(call github,lxc,lxc,lxc-$(LXC_VERSION))
LXC_LICENSE = LGPLv2.1+
LXC_LICENSE_FILES = COPYING
LXC_DEPENDENCIES = libcap
LXC_CONF_OPT = --disable-apparmor
LXC_DEPENDENCIES = libcap host-pkgconf
# configure not shipped
LXC_AUTORECONF = YES
LXC_CONF_OPT = --disable-apparmor --with-distro=buildroot

$(eval $(autotools-package))