[arch-commits] Commit in lxcfs/repos (6 files)

Sergej Pupykin spupykin at archlinux.org
Tue Jun 23 14:30:46 UTC 2015


    Date: Tuesday, June 23, 2015 @ 16:30:46
  Author: spupykin
Revision: 135760

archrelease: copy trunk to community-i686, community-x86_64

Added:
  lxcfs/repos/community-i686/PKGBUILD
    (from rev 135759, lxcfs/trunk/PKGBUILD)
  lxcfs/repos/community-i686/lxcfs.service
    (from rev 135759, lxcfs/trunk/lxcfs.service)
  lxcfs/repos/community-x86_64/PKGBUILD
    (from rev 135759, lxcfs/trunk/PKGBUILD)
  lxcfs/repos/community-x86_64/lxcfs.service
    (from rev 135759, lxcfs/trunk/lxcfs.service)
Deleted:
  lxcfs/repos/community-i686/PKGBUILD
  lxcfs/repos/community-x86_64/PKGBUILD

--------------------------------+
 /PKGBUILD                      |   64 +++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD        |   29 -----------------
 community-i686/lxcfs.service   |   15 +++++++++
 community-x86_64/PKGBUILD      |   29 -----------------
 community-x86_64/lxcfs.service |   15 +++++++++
 5 files changed, 94 insertions(+), 58 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-06-23 14:30:33 UTC (rev 135759)
+++ community-i686/PKGBUILD	2015-06-23 14:30:46 UTC (rev 135760)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Maintainer: Christian Brauner <christianvanbrauner at gmail.com>
-
-pkgname=lxcfs
-pkgver=0.9
-pkgrel=1
-pkgdesc="FUSE filesystem for LXC"
-arch=(i686 x86_64)
-url="https://linuxcontainers.org/"
-license=('GPL')
-depends=('lxc' 'cgmanager>=0.35-1' 'libnih' 'fuse')
-makedepends=('help2man')
-source=("https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz")
-md5sums=('455999f60080322852264cfb7d6b11b7')
-
-build() {
-    cd "$srcdir/$pkgname-$pkgver"
-    ./configure \
-        --prefix=/usr \
-        --sbindir=/usr/bin \
-        --localstatedir=/var
-    make
-}
-
-package() {
-    cd "$srcdir/$pkgname-$pkgver"
-    make DESTDIR="$pkgdir/" install
-}

Copied: lxcfs/repos/community-i686/PKGBUILD (from rev 135759, lxcfs/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-06-23 14:30:46 UTC (rev 135760)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Christian Brauner <christianvanbrauner at gmail.com>
+
+pkgname=lxcfs
+pkgver=0.9
+pkgrel=2
+pkgdesc="FUSE filesystem for LXC"
+arch=(i686 x86_64)
+url="https://linuxcontainers.org/"
+license=('GPL')
+depends=('lxc' 'cgmanager>=0.35-1' 'libnih' 'fuse')
+makedepends=('help2man')
+source=("https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz"
+	"lxcfs.service")
+md5sums=('455999f60080322852264cfb7d6b11b7'
+         '29a6bf8868ce09871e6447db4070a923')
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+    ./configure \
+        --prefix=/usr \
+        --sbindir=/usr/bin \
+        --localstatedir=/var
+    make
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+    make DESTDIR="$pkgdir/" install
+    install -Dm0644 $srcdir/lxcfs.service $pkgdir/usr/lib/systemd/system/lxcfs.service
+}

Copied: lxcfs/repos/community-i686/lxcfs.service (from rev 135759, lxcfs/trunk/lxcfs.service)
===================================================================
--- community-i686/lxcfs.service	                        (rev 0)
+++ community-i686/lxcfs.service	2015-06-23 14:30:46 UTC (rev 135760)
@@ -0,0 +1,15 @@
+[Unit]
+Description=FUSE filesystem for LXC
+ConditionVirtualization=!container
+Before=lxc.service
+After=cgmanager.service
+Requires=cgmanager.service
+
+[Service]
+ExecStart=/usr/bin/lxcfs -f -s -o allow_other /var/lib/lxcfs
+KillMode=process
+Restart=on-failure
+ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-06-23 14:30:33 UTC (rev 135759)
+++ community-x86_64/PKGBUILD	2015-06-23 14:30:46 UTC (rev 135760)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Maintainer: Christian Brauner <christianvanbrauner at gmail.com>
-
-pkgname=lxcfs
-pkgver=0.9
-pkgrel=1
-pkgdesc="FUSE filesystem for LXC"
-arch=(i686 x86_64)
-url="https://linuxcontainers.org/"
-license=('GPL')
-depends=('lxc' 'cgmanager>=0.35-1' 'libnih' 'fuse')
-makedepends=('help2man')
-source=("https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz")
-md5sums=('455999f60080322852264cfb7d6b11b7')
-
-build() {
-    cd "$srcdir/$pkgname-$pkgver"
-    ./configure \
-        --prefix=/usr \
-        --sbindir=/usr/bin \
-        --localstatedir=/var
-    make
-}
-
-package() {
-    cd "$srcdir/$pkgname-$pkgver"
-    make DESTDIR="$pkgdir/" install
-}

Copied: lxcfs/repos/community-x86_64/PKGBUILD (from rev 135759, lxcfs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-06-23 14:30:46 UTC (rev 135760)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Christian Brauner <christianvanbrauner at gmail.com>
+
+pkgname=lxcfs
+pkgver=0.9
+pkgrel=2
+pkgdesc="FUSE filesystem for LXC"
+arch=(i686 x86_64)
+url="https://linuxcontainers.org/"
+license=('GPL')
+depends=('lxc' 'cgmanager>=0.35-1' 'libnih' 'fuse')
+makedepends=('help2man')
+source=("https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz"
+	"lxcfs.service")
+md5sums=('455999f60080322852264cfb7d6b11b7'
+         '29a6bf8868ce09871e6447db4070a923')
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+    ./configure \
+        --prefix=/usr \
+        --sbindir=/usr/bin \
+        --localstatedir=/var
+    make
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+    make DESTDIR="$pkgdir/" install
+    install -Dm0644 $srcdir/lxcfs.service $pkgdir/usr/lib/systemd/system/lxcfs.service
+}

Copied: lxcfs/repos/community-x86_64/lxcfs.service (from rev 135759, lxcfs/trunk/lxcfs.service)
===================================================================
--- community-x86_64/lxcfs.service	                        (rev 0)
+++ community-x86_64/lxcfs.service	2015-06-23 14:30:46 UTC (rev 135760)
@@ -0,0 +1,15 @@
+[Unit]
+Description=FUSE filesystem for LXC
+ConditionVirtualization=!container
+Before=lxc.service
+After=cgmanager.service
+Requires=cgmanager.service
+
+[Service]
+ExecStart=/usr/bin/lxcfs -f -s -o allow_other /var/lib/lxcfs
+KillMode=process
+Restart=on-failure
+ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list