On Fri, Aug 03, 2018 at 03:33:56PM +0200, Michael Grzeschik wrote: > his 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 > --- > rules/host-lxc.in | 10 +++++++++ > rules/host-lxc.make | 50 +++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 60 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..a1aa6e428 > --- /dev/null > +++ b/rules/host-lxc.in > @@ -0,0 +1,10 @@ > +## SECTION=hosttools > + > +config HOST_LXC > + tristate > + prompt "hostside lxc" ^^^^^^^^ host-side would be conform to the other host tools. > + 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..41351bb85 > --- /dev/null > +++ b/rules/host-lxc.make > @@ -0,0 +1,50 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2018 by Michael Grzeschik > +# > +# 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 \ > + --enable-bash \ > + --enable-tools \ > + --enable-commands \ > + --disable-tests \ > + --disable-configpath-log \ > + --disable-pam \ > + --with-pamdir=none > + > +# vim: syntax=make > -- > 2.18.0 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |