From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fvfsP-0005F9-11 for ptxdist@pengutronix.de; Fri, 31 Aug 2018 11:38:01 +0200 Received: from mgr by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1fvfsO-0000Pl-Ow for ptxdist@pengutronix.de; Fri, 31 Aug 2018 11:38:00 +0200 Date: Fri, 31 Aug 2018 11:38:00 +0200 From: Michael Grzeschik Message-ID: <20180831093800.urr3rboypsetvq3l@pengutronix.de> References: <20180830073550.22222-1-m.grzeschik@pengutronix.de> <20180830141035.zveprf56pjvevxpo@pengutronix.de> MIME-Version: 1.0 In-Reply-To: <20180830141035.zveprf56pjvevxpo@pengutronix.de> Subject: Re: [ptxdist] [PATCH v3] lxc: add new 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="===============2057283062==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============2057283062== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6e5sqhqsy74owsgt" Content-Disposition: inline --6e5sqhqsy74owsgt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 30, 2018 at 04:10:35PM +0200, Michael Olbrich wrote: > On Thu, Aug 30, 2018 at 09:35:50AM +0200, Michael Grzeschik wrote: > > This patch adds support for the lxc container system. We install the > > userspace lib and application. > >=20 > > To make sure all necessary kernel options are enabled use: > > $ CONFIG=3D/path/to/kernelconfig lxc-checkconfig > >=20 > > Signed-off-by: Michael Grzeschik > > --- > > v1 -> v2: - prefixed used variables with PTXCONF_ : > > LXC_TEMPLATES, LXC_HOOKS, LXC_SELINUX > > - fixed used variable LXC_SYSTEMD_UNIT > > - added missing dir /usr/lib/lxc/rootfs > > - added dependency to busybox tools when using templates > > - added dependency to iptables when starting systemd.service > > - removed some extra commented unused options > > - removed hooks > > - only installing busybox template > > - added dependency to busybox_umount > >=20 > > v2 -> v3: - removed the busybox template and its dependencies > > - added patch for dnsmasq to start without dns support > > - added install stage to include getent from toolchain > >=20 > > ...te-new-lxcbr0-subnet-at-startup-time.patch | 134 +++++++++++ > > ...-net-start-dnsmasq-without-dnsserver.patch | 24 ++ > > patches/lxc-3.0.1/series | 2 + > > projectroot/etc/default/lxc-net | 7 + > > projectroot/etc/lxc/default.conf | 4 + > > rules/lxc.in | 61 +++++ > > rules/lxc.make | 211 ++++++++++++++++++ > > 7 files changed, 443 insertions(+) > > create mode 100644 patches/lxc-3.0.1/0001-Allocate-new-lxcbr0-subnet-a= t-startup-time.patch > > create mode 100644 patches/lxc-3.0.1/0002-lxc-net-start-dnsmasq-withou= t-dnsserver.patch > > create mode 100644 patches/lxc-3.0.1/series > > create mode 100644 projectroot/etc/default/lxc-net > > create mode 100644 projectroot/etc/lxc/default.conf > > create mode 100644 rules/lxc.in > > create mode 100644 rules/lxc.make > >=20 > > diff --git a/patches/lxc-3.0.1/0001-Allocate-new-lxcbr0-subnet-at-start= up-time.patch b/patches/lxc-3.0.1/0001-Allocate-new-lxcbr0-subnet-at-startu= p-time.patch > > new file mode 100644 > > index 000000000..a1fddbea4 > > --- /dev/null > > +++ b/patches/lxc-3.0.1/0001-Allocate-new-lxcbr0-subnet-at-startup-time= =2Epatch > > @@ -0,0 +1,134 @@ > > +From: =3D?UTF-8?q?St=3DC3=3DA9phane=3D20Graber?=3D > > +Date: Tue, 3 Nov 2015 11:42:58 -0500 > > +Subject: [PATCH] Allocate new lxcbr0 subnet at startup time > > + > > +--- > > + config/init/common/lxc-net.in | 100 +++++++++++++++++++++++++++++++++= +++++---- > > + 1 file changed, 91 insertions(+), 9 deletions(-) > > + > > +diff --git a/config/init/common/lxc-net.in b/config/init/common/lxc-ne= t.in > > +index df9f1181d761..6837be1969c2 100644 > > +--- a/config/init/common/lxc-net.in > > ++++ b/config/init/common/lxc-net.in > > +@@ -24,6 +24,85 @@ LXC_IPV6_MASK=3D"" > > + LXC_IPV6_NETWORK=3D"" > > + LXC_IPV6_NAT=3D"false" > > +=20 > > ++write_lxc_net() > > ++{ > > ++ local i=3D$1 > > ++ cat >> $distrosysconfdir/lxc-net << EOF > > ++# Leave USE_LXC_BRIDGE as "true" if you want to use lxcbr0 for your > > ++# containers. Set to "false" if you'll use virbr0 or another existing > > ++# bridge, or mavlan to your host's NIC. > > ++USE_LXC_BRIDGE=3D"true" > > ++ > > ++# If you change the LXC_BRIDGE to something other than lxcbr0, then > > ++# you will also need to update your /etc/lxc/default.conf as well as = the > > ++# configuration (/var/lib/lxc//config) for any containers > > ++# already created using the default config to reflect the new bridge > > ++# name. > > ++# If you have the dnsmasq daemon installed, you'll also have to update > > ++# /etc/dnsmasq.d/lxc and restart the system wide dnsmasq daemon. > > ++LXC_BRIDGE=3D"lxcbr0" > > ++LXC_ADDR=3D"10.0.$i.1" > > ++LXC_NETMASK=3D"255.255.255.0" > > ++LXC_NETWORK=3D"10.0.$i.0/24" > > ++LXC_DHCP_RANGE=3D"10.0.$i.2,10.0.$i.254" > > ++LXC_DHCP_MAX=3D"253" > > ++# Uncomment the next line if you'd like to use a conf-file for the lx= cbr0 > > ++# dnsmasq. For instance, you can use 'dhcp-host=3Dmail1,10.0.3.100' = to have > > ++# container 'mail1' always get ip address 10.0.3.100. > > ++#LXC_DHCP_CONFILE=3D/etc/lxc/dnsmasq.conf > > ++ > > ++# Uncomment the next line if you want lxcbr0's dnsmasq to resolve the= .lxc > > ++# domain. You can then add "server=3D/lxc/10.0.$i.1' (or your actual= \$LXC_ADDR) > > ++# to your system dnsmasq configuration file (normally /etc/dnsmasq.co= nf, > > ++# or /etc/NetworkManager/dnsmasq.d/lxc.conf on systems that use Netwo= rkManager). > > ++# Once these changes are made, restart the lxc-net and network-manage= r services. > > ++# 'container1.lxc' will then resolve on your host. > > ++#LXC_DOMAIN=3D"lxc" > > ++EOF > > ++} > > ++ > > ++configure_lxcbr0() > > ++{ > > ++ local i=3D3 > > ++ cat > $distrosysconfdir/lxc-net << EOF > > ++# This file is auto-generated by lxc.postinst if it does not > > ++# exist. Customizations will not be overridden. > > ++EOF > > ++ # if lxcbr0 exists, keep using the same network > > ++ if ip addr show lxcbr0 > /dev/null 2>&1 ; then > > ++ i=3D`ip addr show lxcbr0 | grep "inet\>" | awk '{ print $2 }'= | awk -F. '{ print $3 }'` > > ++ write_lxc_net $i > > ++ return > > ++ fi > > ++ # if no lxcbr0, find an open 10.0.a.0 network > > ++ for l in `ip addr show | grep "inet\>" |awk '{ print $2 }' | grep= '^10\.0\.' | sort -n`; do > > ++ j=3D`echo $l | awk -F. '{ print $3 }'` > > ++ if [ $j -gt $i ]; then > > ++ write_lxc_net $i > > ++ return > > ++ fi > > ++ i=3D$((j+1)) > > ++ done > > ++ if [ $i -ne 254 ]; then > > ++ write_lxc_net $i > > ++ fi > > ++} > > ++ > > ++update_lxcnet_config() > > ++{ > > ++ local i=3D3 > > ++ # if lxcbr0 exists, keep using the same network > > ++ if ip addr show lxcbr0 > /dev/null 2>&1 ; then > > ++ return > > ++ fi > > ++ # our LXC_NET conflicts with an existing interface. Probably fir= st > > ++ # run after system install with package pre-install. Find a new = subnet > > ++ configure_lxcbr0 > > ++ > > ++ # and re-load the newly created config > > ++ [ ! -f $distrosysconfdir/lxc-net ] || . $distrosysconfdir/lxc-net > > ++} > > ++ > > + [ ! -f $distrosysconfdir/lxc ] || . $distrosysconfdir/lxc > > +=20 > > + use_iptables_lock=3D"-w" > > +@@ -51,7 +130,19 @@ _ifup() { > > + ip link set dev ${LXC_BRIDGE} up > > + } > > +=20 > > ++cleanup() { > > ++ set +e > > ++ if [ "$FAILED" =3D "1" ]; then > > ++ echo "Failed to setup lxc-net." >&2 > > ++ stop force > > ++ exit 1 > > ++ fi > > ++} > > ++ > > + start() { > > ++ > > ++ [ ! -f $distrosysconfdir/lxc-net ] && update_lxcnet_config >=20 > This patch looks wrong. It only does something new if the config does not > exist, right? That should never happen for embedded. >=20 > Why is this patch needed? Right, the patch is not needed for embedded. > > ++ > > + [ "x$USE_LXC_BRIDGE" =3D "xtrue" ] || { exit 0; } > > +=20 > > + [ ! -f "${varrun}/network_up" ] || { echo "lxc-net is already run= ning"; exit 1; } > > +@@ -62,15 +153,6 @@ start() { > > +=20 > > + FAILED=3D1 > > +=20 > > +- cleanup() { > > +- set +e > > +- if [ "$FAILED" =3D "1" ]; then > > +- echo "Failed to setup lxc-net." >&2 > > +- stop force > > +- exit 1 > > +- fi > > +- } > > +- > > + trap cleanup EXIT HUP INT TERM > > + set -e > > +=20 > > diff --git a/patches/lxc-3.0.1/0002-lxc-net-start-dnsmasq-without-dnsse= rver.patch b/patches/lxc-3.0.1/0002-lxc-net-start-dnsmasq-without-dnsserver= =2Epatch > > new file mode 100644 > > index 000000000..a8cbf3fe2 > > --- /dev/null > > +++ b/patches/lxc-3.0.1/0002-lxc-net-start-dnsmasq-without-dnsserver.pa= tch > > @@ -0,0 +1,24 @@ > > +From: Michael Grzeschik > > +Date: Wed, 29 Aug 2018 16:50:50 +0200 > > +Subject: [PATCH] lxc-net: start dnsmasq without dnsserver > > + > > +So it does not conflict with the systems dnsmasq systemd-service. > > + > > +Signed-off-by: Michael Grzeschik > > +--- > > + config/init/common/lxc-net.in | 2 +- > > + 1 file changed, 1 insertion(+), 1 deletion(-) > > + > > +diff --git a/config/init/common/lxc-net.in b/config/init/common/lxc-ne= t.in > > +index 6837be1969c2..84128d59486b 100644 > > +--- a/config/init/common/lxc-net.in > > ++++ b/config/init/common/lxc-net.in > > +@@ -221,7 +221,7 @@ start() { > > + --dhcp-lease-max=3D${LXC_DHCP_MAX} --dhcp-no-override \ > > + --except-interface=3Dlo --interface=3D${LXC_BRIDGE} \ > > + --dhcp-leasefile=3D"${varlib}"/misc/dnsmasq.${LXC_BRIDGE}= =2Eleases \ > > +- --dhcp-authoritative $LXC_IPV6_ARG || cleanup > > ++ --dhcp-authoritative $LXC_IPV6_ARG --bind-interfaces || c= leanup >=20 > I think this this should be --bind-interfaces instead. Otherwise the > services in the container will have no DNS right? Good Idea! But this will only work if we also add it to projectroot/usr/lib/systemd/system/dnasmasq.in I can add a patch. > > +=20 > > + touch "${varrun}"/network_up > > + FAILED=3D0 > > diff --git a/patches/lxc-3.0.1/series b/patches/lxc-3.0.1/series > > new file mode 100644 > > index 000000000..eec508771 > > --- /dev/null > > +++ b/patches/lxc-3.0.1/series > > @@ -0,0 +1,2 @@ > > +0001-Allocate-new-lxcbr0-subnet-at-startup-time.patch > > +0002-lxc-net-start-dnsmasq-without-dnsserver.patch > > diff --git a/projectroot/etc/default/lxc-net b/projectroot/etc/default/= lxc-net > > new file mode 100644 > > index 000000000..054a09a0a > > --- /dev/null > > +++ b/projectroot/etc/default/lxc-net > > @@ -0,0 +1,7 @@ > > +USE_LXC_BRIDGE=3D"true" > > +LXC_BRIDGE=3D"lxcbr0" > > +LXC_ADDR=3D"192.168.1.1" > > +LXC_NETMASK=3D"255.255.255.0" > > +LXC_NETWORK=3D"192.168.1.0/24" > > +LXC_DHCP_RANGE=3D"192.168.1.2,192.168.1.254" > > +LXC_DHCP_MAX=3D"253" > > diff --git a/projectroot/etc/lxc/default.conf b/projectroot/etc/lxc/def= ault.conf > > new file mode 100644 > > index 000000000..e7af1e6ae > > --- /dev/null > > +++ b/projectroot/etc/lxc/default.conf > > @@ -0,0 +1,4 @@ > > +lxc.net.0.type =3D veth > > +lxc.net.0.link =3D lxcbr0 > > +lxc.net.0.flags =3D up > > +lxc.net.0.hwaddr =3D 00:16:3e:11:22:34 > > diff --git a/rules/lxc.in b/rules/lxc.in > > new file mode 100644 > > index 000000000..fde637b0d > > --- /dev/null > > +++ b/rules/lxc.in > > @@ -0,0 +1,61 @@ > > +## SECTION=3Dsystem_libraries > > + > > +menuconfig LXC > > + bool > > + prompt "lxc " > > + select GNUTLS if LXC_GNUTLS > > + select LIBSELINUX if LXC_SELINUX > > + select LIBSECCOMP if LXC_SECCOMP > > + select BUSYBOX_FEATURE_SH_MATH if LXC_SYSTEMD_UNIT > > + select SYSTEMD if LXC_SYSTEMD_UNIT > > + select DNSMASQ if LXC_SYSTEMD_UNIT > > + select IPTABLES if LXC_SYSTEMD_UNIT > > + select IPTABLES_IPV4 if LXC_SYSTEMD_UNIT > > + select IPTABLES_IPV6 if LXC_SYSTEMD_UNIT > > + select IPTABLES_IPV6_SYSTEMD_UNIT if LXC_SYSTEMD_UNIT > > + select IPTABLES_IPV4_SYSTEMD_UNIT if LXC_SYSTEMD_UNIT >=20 > Why are the units needed? Right, they are not. > > + select IPTABLES_INSTALL_TOOLS if LXC_SYSTEMD_UNIT > > + 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. > > + > > +if LXC > > + > > +config LXC_GNUTLS > > + bool > > + prompt "LXC gnutls support" >=20 > > + default n >=20 > This is already the default. Remove it (everywhere). ok > > + help > > + Turn on to enable gnutls support in lxc >=20 > What is gnutls used for? It is only used for checksum validation of the templates. As the templates are already removed I will drop that option aswell. > > + > > +config LXC_SELINUX > > + bool > > + prompt "LXC selinux support" > > + default n > > + help > > + Turn on to enable selinux support in lxc >=20 > Use GLOBAL_SELINUX instead. ok > > + > > +config LXC_SECCOMP > > + bool > > + prompt "LXC seccomp support" > > + default n > > + help > > + Turn on to enable seccomp support in lxc >=20 > LXC is a security feature. I think seccomp should always be enabled. ok > > + > > +config LXC_SYSTEMD_UNIT > > + bool > > + prompt "LXC systemd unit" > > + default INITMETHOD_SYSTEMD > > + help > > + Turn on to install systemd unit for lxc > > + > > +config LXC_TEST_TOOLS > > + bool > > + prompt "LXC test applications" > > + default n > > + help > > + Turn on to enable building the lxc test applications > > + > > +endif > > diff --git a/rules/lxc.make b/rules/lxc.make > > new file mode 100644 > > index 000000000..1eadc6d96 > > --- /dev/null > > +++ b/rules/lxc.make > > @@ -0,0 +1,211 @@ > > +# -*-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 condit= ions > > +# see the README file. > > +# > > + > > +# > > +# We provide this package > > +# > > +PACKAGES-$(PTXCONF_LXC) +=3D lxc > > + > > +# > > +# Paths and names > > +# > > +LXC_VERSION :=3D 3.0.1 > > +LXC_MD5 :=3D 8eb396dde561e5832ba2d505513a1935 > > +LXC :=3D lxc-$(LXC_VERSION) > > +LXC_SUFFIX :=3D tar.gz > > +LXC_URL :=3D https://linuxcontainers.org/downloads/lxc/$(LXC).$(LXC_S= UFFIX) > > +LXC_SOURCE :=3D $(SRCDIR)/$(LXC).$(LXC_SUFFIX) > > +LXC_DIR :=3D $(BUILDDIR)/$(LXC) > > +LXC_LICENSE :=3D unknown > > + > > +# --------------------------------------------------------------------= -------- > > +# Prepare > > +# --------------------------------------------------------------------= -------- > > + > > +#LXC_CONF_ENV :=3D $(CROSS_ENV) > > + > > +# > > +# autoconf > > +# > > +LXC_CONF_TOOL :=3D autoconf > > +LXC_CONF_OPT :=3D \ > > + $(CROSS_AUTOCONF_USR) \ > > + --enable-silent-rules \ > > + --enable-dependency-tracking \ > > + --enable-shared \ > > + --disable-static \ > > + --disable-fast-install \ > > + --disable-libtool-lock \ > > + --disable-werror \ > > + --disable-rpath \ > > + --disable-doc \ > > + --disable-api-docs \ > > + --disable-apparmor \ > > + --$(call ptx/endis, PTXCONF_LXC_GNUTLS)-gnutls \ > > + --$(call ptx/endis, PTXCONF_LXC_SELINUX)-selinux \ > > + --$(call ptx/endis, PTXCONF_LXC_SECCOMP)-seccomp \ > > + --enable-capabilities \ > > + --enable-examples \ >=20 > why? will remove them > > + --disable-mutex-debugging \ > > + --disable-bash \ > > + --enable-tools \ > > + --enable-commands \ > > + --$(call ptx/endis, PTXCONF_LXC_TEST_TOOLS)-tests \ > > + --enable-configpath-log \ > > + --disable-pam \ > > + --with-init-script=3Dsystemd \ > > + --with-systemdsystemunitdir=3D/usr/lib/systemd/system/ \ > > + --with-distro=3Dunknown \ > > + --with-usernic-conf \ > > + --with-usernic-db \ > > + --with-log-path=3D/var/log \ > > + --with-pamdir=3Dnone > > + > > +LXC_APPLICATIONS :=3D \ > > + copy \ > > + cgroup \ > > + create \ > > + snapshot \ > > + freeze \ > > + config \ > > + monitor \ > > + unfreeze \ > > + device \ > > + destroy \ > > + ls \ > > + console \ > > + wait \ > > + execute \ > > + update-config \ > > + stop \ > > + checkconfig \ > > + checkpoint \ > > + usernsexec \ > > + attach \ > > + start \ > > + top \ > > + info \ > > + autostart \ > > + unshare > > + > > +ifdef PTXCONF_LXC_TEST_TOOLS > > +LXC_TEST_TOOLS :=3D \ > > + containertests \ > > + may-control \ > > + console \ > > + locktests \ > > + no-new-privs \ > > + snapshot \ > > + concurrent \ > > + shutdowntest \ > > + cgpath \ > > + get_item \ > > + criu-check-feature \ > > + apparmor \ > > + share-ns \ > > + saveconfig \ > > + clonetest \ > > + createtest \ > > + createconfig \ > > + shortlived \ > > + rootfs \ > > + getkeys \ > > + console-log \ > > + attach \ > > + reboot \ > > + automount \ > > + api-reboot \ > > + destroytest \ > > + startone \ > > + raw-clone \ > > + parse-config-file \ > > + config-jump-table \ > > + autostart \ > > + state-server \ > > + list \ > > + device-add-remove \ > > + cloneconfig \ > > + utils \ > > + lxcpath > > +endif > > + > > +# --------------------------------------------------------------------= -------- > > +# Target-Install > > +# --------------------------------------------------------------------= -------- > > + > > +$(STATEDIR)/lxc.targetinstall: > > + @$(call targetinfo) > > + > > + @$(call install_init, lxc) > > + @$(call install_fixup, lxc, PRIORITY, optional) > > + @$(call install_fixup, lxc, SECTION, base) > > + @$(call install_fixup, lxc, AUTHOR, "Michael Grzeschik ") > > + @$(call install_fixup, lxc, DESCRIPTION, missing) > > + > > + @$(call install_lib, lxc, 0, 0, 0644, liblxc); > > + > > + @$(call install_copy, lxc, 0, 0, 0644, /var/lib/lxc); > > + @$(call install_copy, lxc, 0, 0, 0644, /usr/lib/lxc/rootfs); > > + > > + @$(call install_tree, lxc, 0, 0, -, /usr/share/lxc/config); > > + > > +ifdef PTXCONF_LXC_SELINUX > > + @$(call install_tree, lxc, 0, 0, -, /usr/share/lxc/selinux); > > +endif > > + > > + @$(call install_alternative, lxc, 0, 0, 0644, /etc/lxc/default.conf); > > + @$(call install_alternative, lxc, 0, 0, 0644, /etc/default/lxc-net); > > + > > + @$(call install_copy, lxc, 0, 0, 0644, -, /etc/default/lxc) > > + > > + @$(foreach app, $(LXC_APPLICATIONS), \ > > + $(call install_copy, lxc, 0, 0, 0755, $(LXC_PKGDIR)/usr/bin/lxc-$(ap= p), \ > > + /usr/bin/lxc-$(app))$(ptx/nl)) > > + > > + @$(foreach app, \ > > + containers \ > > + net \ > > + apparmor-load \ > > + user-nic \ > > + monitord, \ >=20 > define a variable above. ok > > + $(call install_copy, lxc, 0, 0, 0755, -, \ > > + /usr/libexec/lxc/lxc-$(app))$(ptx/nl)) > > + > > +# This is needed by /usr/libexec/lxc/lxc-net > > + @$(call install_copy, lxc, 0, 0, 0755, \ > > + $(PTXDIST_SYSROOT_TOOLCHAIN)/usr/bin/getent, /usr/bin/getent) >=20 > No. Create a option for glibc and select it. ok > > + > > +ifdef PTXCONF_LXC_TEST_TOOLS > > + @$(foreach app, $(LXC_TEST_TOOLS), \ > > + $(call install_copy, lxc, 0, 0, 0755, $(LXC_PKGDIR)/usr/bin/lxc-test= -$(app), \ > > + /usr/bin/lxc-tests/$(app))$(ptx/nl)) > > +endif > > + > > +ifdef PTXCONF_LXC_SYSTEMD_UNIT > > + @$(foreach rule, \ > > + lxc.service \ > > + lxc@.service \ > > + lxc-net.service, \ > > + $(call install_copy, lxc, 0, 0, 0644, -, \ > > + /usr/lib/systemd/system/$(rule))$(ptx/nl)) > > + > > + @$(foreach rule, \ > > + lxc.service \ > > + lxc@.service \ > > + lxc-net.service, \ > > + $(call install_link, lxc, ../$(rule), \ > > + /usr/lib/systemd/system/multi-user.target.wants/$(rule))$(ptx/nl)) >=20 > don't loop for 3 files. ok > > +endif > > + > > + @$(call install_finish, lxc) > > + > > + @$(call touch) > > + > > +# vim: syntax=3Dmake > > --=20 > > 2.18.0 > >=20 > >=20 > > _______________________________________________ > > ptxdist mailing list > > ptxdist@pengutronix.de >=20 > --=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 | >=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 | --6e5sqhqsy74owsgt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEElXvEUs6VPX6mDPT8C+njFXoeLGQFAluJDHUACgkQC+njFXoe LGR/xBAAoVkJNhhEpGHW8i3EH9fIag86PPD3NVjkLWwAeXMiORVffw9Q1uURFsx8 vVW4F1l498waWAJyS/u0BLvcC76gH+u7x274q1IUVknJRAlGzjTBUEcGrn8M8sNn 196PLDie6bR45yQe+CsCu8ZZ/233Ozy75MW7/5Gq9yuUps8PVTB0TGrjmC1deigp syVkJM4W3d7FOVcKkQziJKREtfSWsZECrWxasH1sGjhh3ydcvGiL4eeZorwJGOIs 4NiaW9xxUtT4kwYscKwSOa4SnpyMMpFCBUC1GGghP53lDjzrUdJ4jpdvD7j9o5bP iAIvHH5l9cMDhpj2WEaUp8TQsZ8BJKbcWhK9BxXwECiULwXk9Gq0wYXR0L+87FW5 j+Vlu1uFORx+1Z4eOjGiMxj+ApQN2sZQLpo6Vz06jyNRTbDJzLyAUgFSNv6vfG8H o2/+34F1O1JVRwKef5fNL6lWOtCu1r6nvi8cZXs6nrIufp9PHQ/hDnyPAzvDhNNw 459GOe0eNMyj4/9J56dRTna/x0zaBI0dE+K/uXMj+WImjX5Od9bCNc3sPYQnQ8RI LNe8z9TJ/jncaW05B3OpEtfCUBU6p/W5wftNXreZXQaOLBf1rKSFNaXyRWpBlUO9 Ohncfv/X7EEL1N6J3Y3ILbfp9WNiCr3wjFF4BDTD431nJ6C3Coc= =/oHo -----END PGP SIGNATURE----- --6e5sqhqsy74owsgt-- --===============2057283062== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============2057283062==--