diff options
-rw-r--r-- | testing/lxcfs/APKBUILD | 18 | ||||
-rw-r--r-- | testing/lxcfs/lxcfs.initd | 6 |
2 files changed, 18 insertions, 6 deletions
diff --git a/testing/lxcfs/APKBUILD b/testing/lxcfs/APKBUILD index f56ed561a1..a39e8ed7a7 100644 --- a/testing/lxcfs/APKBUILD +++ b/testing/lxcfs/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: +# Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=lxcfs pkgver=2.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="FUSE filesystem for LXC" url="https://linuxcontainers.org/lxcfs" arch="all" @@ -11,7 +11,8 @@ depends="" makedepends="fuse-dev linux-pam-dev linux-headers" install="" subpackages="$pkgname-dev $pkgname-pam" -source="https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz" +source="https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz + lxcfs.initd" builddir="$srcdir/lxcfs-$pkgver" build() { @@ -26,6 +27,8 @@ build() { package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 + install -Dm755 "$srcdir"/lxcfs.initd \ + "$pkgdir"/etc/init.d/lxcfs || return 1 } pam() { @@ -34,6 +37,9 @@ pam() { mv "$pkgdir"/lib/security "$subpkgdir"/lib/ || return 1 } -md5sums="8d79c575d0dc5d127776370eceb0f58b lxcfs-2.0.3.tar.gz" -sha256sums="dd94e19bff202cb9fe2aa7d244b2cccf53cf5d7f6dd76c815e1161e3ba4ce0df lxcfs-2.0.3.tar.gz" -sha512sums="1bca2dc88a4551c90e9760ad8d3c7548126d7803040ddab3ac24fda2d602ec0d34ebf78bbd2b4cd5941edba3ccfe135e86d257f0dc2b89617c7ca876b3dda4bb lxcfs-2.0.3.tar.gz" +md5sums="8d79c575d0dc5d127776370eceb0f58b lxcfs-2.0.3.tar.gz +05765f1f677c500ea16a2a8ea8168532 lxcfs.initd" +sha256sums="dd94e19bff202cb9fe2aa7d244b2cccf53cf5d7f6dd76c815e1161e3ba4ce0df lxcfs-2.0.3.tar.gz +de41e57b8e540eb771fed82348eadca08dcde92c7ca29abdcc09023a98a2475a lxcfs.initd" +sha512sums="1bca2dc88a4551c90e9760ad8d3c7548126d7803040ddab3ac24fda2d602ec0d34ebf78bbd2b4cd5941edba3ccfe135e86d257f0dc2b89617c7ca876b3dda4bb lxcfs-2.0.3.tar.gz +3f213f7fe57cb5862091ee8ff50209648ce903a0e6adf31023598e767fd866fe6a921f709c140959a399c37a2cebcdad2f8d936b7441c936b53ccdf587ec9383 lxcfs.initd" diff --git a/testing/lxcfs/lxcfs.initd b/testing/lxcfs/lxcfs.initd new file mode 100644 index 0000000000..df2ec2e02f --- /dev/null +++ b/testing/lxcfs/lxcfs.initd @@ -0,0 +1,6 @@ +#!/sbin/openrc-run +command=/usr/bin/lxcfs +command_args="-f -o allow_other /var/lib/lxcfs" +pidfile="/run/lxcfs.pid" +command_background="yes" +retry="TERM/45" |