From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/3] host-lxc: add new hostside package
Date: Fri, 3 Aug 2018 15:33:56 +0200 [thread overview]
Message-ID: <20180803133356.4177-4-m.grzeschik@pengutronix.de> (raw)
In-Reply-To: <20180803133356.4177-1-m.grzeschik@pengutronix.de>
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"
+ 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
next prev parent reply other threads:[~2018-08-03 13:33 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 ` Michael Grzeschik [this message]
2018-08-03 15:05 ` [ptxdist] [PATCH 3/3] host-lxc: add new hostside package Michael Grzeschik
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=20180803133356.4177-4-m.grzeschik@pengutronix.de \
--to=m.grzeschik@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