mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/lxcfs to 5.0.3-2
This commit is contained in:
parent
e7efc0133c
commit
e3643c0a4b
2 changed files with 4 additions and 18 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=lxcfs
|
||||
pkgver=5.0.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="FUSE filesystem for LXC"
|
||||
arch=(x86_64)
|
||||
url="https://linuxcontainers.org/"
|
||||
|
@ -16,15 +16,15 @@ depends=('lxc' 'libnih' 'fuse3' 'dbus-glib')
|
|||
makedepends=('help2man' 'meson' 'python-jinja' 'systemd')
|
||||
options=('emptydirs')
|
||||
source=("https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz"{,.asc}
|
||||
"lxcfs.service")
|
||||
https://github.com/lxc/lxcfs/commit/4ab95514ad1042b124cbcd039a691fb3156ae840.patch)
|
||||
validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67')
|
||||
sha256sums=('fa0923539c1275c000879483f727326f5d65ab548f57e501140cd3c1ea0c5395'
|
||||
'SKIP'
|
||||
'3549e83ebbd6ec5934be0c3137b0dbb1101cec098bc49d135fea29f733b9e2a1')
|
||||
'be123820fe62dcc4edb5bb0f8898751f56fe6b52f306c5fd89d71f73434abf92')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
# patch -p1 <../lxcfs-5.0.1-fix-reinitialization-with-fuse3.patch
|
||||
patch -p1 <"$srcdir"/4ab95514ad1042b124cbcd039a691fb3156ae840.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -38,5 +38,4 @@ package() {
|
|||
cd "$pkgname-$pkgver"
|
||||
DESTDIR="$pkgdir" meson install -C ../build
|
||||
install -dm0755 "$pkgdir"/var/lib/lxcfs
|
||||
install -Dm0644 "$srcdir"/lxcfs.service "$pkgdir"/usr/lib/systemd/system/lxcfs.service
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
[Unit]
|
||||
Description=FUSE filesystem for LXC
|
||||
ConditionVirtualization=!container
|
||||
Before=lxc.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/lxcfs /var/lib/lxcfs
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue