mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Grzeschik <mgr@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 3/3] host-lxc: add new hostside package
Date: Fri, 3 Aug 2018 17:05:34 +0200	[thread overview]
Message-ID: <20180803150534.r2vj6r22ba72qxgq@pengutronix.de> (raw)
In-Reply-To: <20180803133356.4177-4-m.grzeschik@pengutronix.de>


[-- Attachment #1.1: Type: text/plain, Size: 3239 bytes --]

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 <m.grzeschik@pengutronix.de>
> ---
>  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 <mgr@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 \
> +	--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 |

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2018-08-03 15:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-03 13:33 [ptxdist] [PATCH 0/3] lxc: add support in ptxdist Michael Grzeschik
2018-08-03 13:33 ` [ptxdist] [PATCH 1/3] busybox: don't install /sbin/init link if busybox is not the initmethod Michael Grzeschik
2018-08-03 15:04   ` Michael Grzeschik
2018-08-03 13:33 ` [ptxdist] [PATCH 2/3] lxc: add new package Michael Grzeschik
2018-08-04  9:17   ` Michael Grzeschik
2018-08-03 13:33 ` [ptxdist] [PATCH 3/3] host-lxc: add new hostside package Michael Grzeschik
2018-08-03 15:05   ` Michael Grzeschik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180803150534.r2vj6r22ba72qxgq@pengutronix.de \
    --to=mgr@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox