From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1flbe3-0001Zx-4Y for ptxdist@pengutronix.de; Fri, 03 Aug 2018 17:05:35 +0200 Received: from mgr by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1flbe2-0007BB-Ss for ptxdist@pengutronix.de; Fri, 03 Aug 2018 17:05:34 +0200 Date: Fri, 3 Aug 2018 17:05:34 +0200 From: Michael Grzeschik Message-ID: <20180803150534.r2vj6r22ba72qxgq@pengutronix.de> References: <20180803133356.4177-1-m.grzeschik@pengutronix.de> <20180803133356.4177-4-m.grzeschik@pengutronix.de> MIME-Version: 1.0 In-Reply-To: <20180803133356.4177-4-m.grzeschik@pengutronix.de> Subject: Re: [ptxdist] [PATCH 3/3] host-lxc: add new hostside package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0637912691==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0637912691== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="teqj7wfuz2dzf4al" Content-Disposition: inline --teqj7wfuz2dzf4al Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > To test if all necessary kernel options are enabled for the target > try the following command after building the host-package. >=20 > $ CONFIG=3D$(BSP)/config/platform-$(target)/kernelconfig \ > $(BSP)/platform-$(target)/sysroot-host/bin/lxc-checkconfig >=20 > 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 >=20 > 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=3Dhosttools > + > +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 conditio= ns > +# see the README file. > +# > + > +# > +# We provide this package > +# > +HOST_PACKAGES-$(PTXCONF_HOST_LXC) +=3D host-lxc > + > +# Prepare > +# ----------------------------------------------------------------------= ------ > + > +# > +# autoconf > +# > +HOST_LXC_CONF_TOOL :=3D autoconf > +HOST_LXC_CONF_OPT :=3D \ > + $(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=3Dnone > + > +# vim: syntax=3Dmake > --=20 > 2.18.0 >=20 >=20 > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de --=20 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 | --teqj7wfuz2dzf4al Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEElXvEUs6VPX6mDPT8C+njFXoeLGQFAltkbz4ACgkQC+njFXoe LGT8rQ//UmgnuwwyW2Pk1DCjrWsKOt+B8hpl/NJJvN8jY7ReycwHx2paQ8aHCU0Y gq2Pvc/f3yTYxDJQ57VWnTRFwMcnnXyOm3S7dZ0+R8fG90u7FWzkl6ueOuvIVG1n AHs8ZGBqafqi+xsmEpRoCe4zC3XyiOZ1YS7CHvqYPXsqiN6m+2g77AOo5f3ZB3MS IjITHFyzO0v8vRrKrSouVIva+kNCvp6XVvBGmiKz7KC3q3LljVxG7sgHhFkQEQbw NMD4YUYPUxrzbXWFilzpOjCM6gzW75SGkO0YH8d3rFFIp6DnYzaTN7t8+V0+qD9p byDQG7Je6J+E4UCO6WmZBD7lAofXz4VTG1kyuJPt38SlxAF6uoyEluR/V/rUrgS8 Vr12EYg8DGwODRuK0q6DcLjZkujuVv/FlKZpsUQzPZqgkT8gpKmoNG34MDho3xnt bodmVMT1CLpIWAnKNhzqhi6QPmGxlnoG41woFJrKE3GELs0a+sqfUCIdLLVs0QuM beITAm2UXlD1JTmraIwk7WVGi5murZJqOGspFRXFw/T0H9BUv+pOPY34RFecvBA2 eSuysCGXumxUwXjAkUFlbb7V2ch918v9l5gWaWUE0diFSAlpRctHgrZ/fUG+ftii hRzLiRxfWrFE3oc4e1BAb3FVtdhZP+6GS06ZOwETGaDGKJv60AA= =Jcly -----END PGP SIGNATURE----- --teqj7wfuz2dzf4al-- --===============0637912691== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0637912691==--