This package adds support to build the host side lxc package. It allows to use the lxc-utils on the build host.
To test if all necessary kernel options are enabled for the target try the following command after building the host-package. $ CONFIG=$(BSP)/config/platform-$(target)/kernelconfig \ $(BSP)/platform-$(target)/sysroot-host/bin/lxc-checkconfig Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de> --- v1 -> v2: - added dash to host-side in prompt - disabled distro check - removed bash completion support rules/host-lxc.in | 10 +++++++++ rules/host-lxc.make | 51 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 rules/host-lxc.in create mode 100644 rules/host-lxc.make diff --git a/rules/host-lxc.in b/rules/host-lxc.in new file mode 100644 index 000000000..59ce83688 --- /dev/null +++ b/rules/host-lxc.in @@ -0,0 +1,10 @@ +## SECTION=hosttools + +config HOST_LXC + tristate + prompt "host-side lxc" + help + LXC is a userspace interface for the Linux kernel containment + features. Through a powerful API and simple tools, it lets + Linux users easily create and manage system or application + containers. diff --git a/rules/host-lxc.make b/rules/host-lxc.make new file mode 100644 index 000000000..c8b105a49 --- /dev/null +++ b/rules/host-lxc.make @@ -0,0 +1,51 @@ +# -*-makefile-*- +# +# Copyright (C) 2018 by Michael Grzeschik <m...@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_LXC) += host-lxc + +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_LXC_CONF_TOOL := autoconf +HOST_LXC_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --disable-silent-rules \ + --disable-dependency-tracking \ + --enable-shared \ + --disable-static \ + --disable-fast-install \ + --disable-libtool-lock \ + --disable-werror \ + --disable-rpath \ + --disable-doc \ + --disable-api-docs \ + --disable-apparmor \ + --disable-gnutls \ + --disable-selinux \ + --disable-seccomp \ + --disable-capabilities \ + --disable-examples \ + --disable-mutex-debugging \ + --disable-bash \ + --enable-tools \ + --enable-commands \ + --disable-tests \ + --disable-configpath-log \ + --disable-pam \ + --with-distro=unknown \ + --with-pamdir=none + +# vim: syntax=make -- 2.18.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de