summaryrefslogtreecommitdiff
path: root/community/lxc
diff options
context:
space:
mode:
Diffstat (limited to 'community/lxc')
-rw-r--r--community/lxc/PKGBUILD7
-rw-r--r--community/lxc/lxc@.service6
2 files changed, 7 insertions, 6 deletions
diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD
index a357ac070..692a7fcd5 100644
--- a/community/lxc/PKGBUILD
+++ b/community/lxc/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 103083 2013-12-26 10:01:37Z spupykin $
+# $Id: PKGBUILD 105711 2014-02-14 09:37:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
# Contributor: Daniel Micay <danielmicay@gmail.com>
@@ -8,7 +8,7 @@
pkgname=lxc
pkgver=0.9.0
epoch=1
-pkgrel=5
+pkgrel=6
pkgdesc="Linux Containers"
arch=('i686' 'x86_64')
url="http://linuxcontainers.org"
@@ -22,10 +22,11 @@ source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz"
"lxc@.service")
md5sums=('8552a4479090616f4bc04d8473765fc9'
'df94c9fb8a753011c86ee664e9f521ff'
- '8003139e60ea66c05460660f31780706')
+ '32db4ef06b27f36e15ff4b67c049dfeb')
prepare() {
cd "$srcdir/$pkgname-${pkgver/_/-}"
+ sed -i 's|sbin/init none bind|sbin/init none ro,bind|' templates/lxc-sshd.in
sed -i \
-e "s/for name in docbook2x-man db2x_docbook2man; do/for name in docbook2x-man db2x_docbook2man docbook2man; do/" \
-e "s|AM_INIT_AUTOMAKE.*|AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability subdir-objects])|" \
diff --git a/community/lxc/lxc@.service b/community/lxc/lxc@.service
index 7bc87b5dd..4c0c34e3e 100644
--- a/community/lxc/lxc@.service
+++ b/community/lxc/lxc@.service
@@ -1,11 +1,11 @@
[Unit]
-Description=%I LXC
+Description=%i LXC
After=network.target
[Service]
Type=forking
-ExecStart=/usr/bin/lxc-start -d -n %I
-ExecStop=/usr/bin/lxc-stop -n %I
+ExecStart=/usr/bin/lxc-start -d -n %i
+ExecStop=/usr/bin/lxc-stop -n %i
[Install]
WantedBy=multi-user.target