Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
23
deprecated/firmware/buildroot/package/lxc/Config.in
Normal file
23
deprecated/firmware/buildroot/package/lxc/Config.in
Normal file
@@ -0,0 +1,23 @@
|
||||
config BR2_PACKAGE_LXC
|
||||
bool "lxc"
|
||||
select BR2_PACKAGE_LIBCAP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# build system forcefully builds a shared library
|
||||
depends on !BR2_STATIC_LIBS
|
||||
# the toolchain doesn't support setns syscall
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
|
||||
help
|
||||
Linux Containers (LXC), provides the ability to group and isolate
|
||||
of a set of processes in a jail by virtualizing and accounting the
|
||||
kernel resources. It is similar to Linux-Vserver or Openvz.
|
||||
|
||||
https://linuxcontainers.org/
|
||||
|
||||
comment "lxc needs a toolchain w/ threads, headers >= 3.0, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|
||||
|| BR2_STATIC_LIBS
|
||||
2
deprecated/firmware/buildroot/package/lxc/lxc.hash
Normal file
2
deprecated/firmware/buildroot/package/lxc/lxc.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 9588ad1b04e114ee7370f690c65131e28098b28d2521d97c73557d11897ed0be lxc-1.1.5.tar.gz
|
||||
25
deprecated/firmware/buildroot/package/lxc/lxc.mk
Normal file
25
deprecated/firmware/buildroot/package/lxc/lxc.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# lxc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LXC_VERSION = 1.1.5
|
||||
LXC_SITE = https://linuxcontainers.org/downloads/lxc
|
||||
LXC_LICENSE = LGPLv2.1+
|
||||
LXC_LICENSE_FILES = COPYING
|
||||
LXC_DEPENDENCIES = libcap host-pkgconf
|
||||
# we're patching configure.ac
|
||||
LXC_AUTORECONF = YES
|
||||
LXC_CONF_OPTS = --disable-apparmor --with-distro=buildroot \
|
||||
--disable-lua --disable-python \
|
||||
$(if $(BR2_PACKAGE_BASH),,--disable-bash)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
LXC_CONF_OPTS += --enable-seccomp
|
||||
LXC_DEPENDENCIES += libseccomp
|
||||
else
|
||||
LXC_CONF_OPTS += --disable-seccomp
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user