diff options
author | Jean Lucas | 2019-08-20 20:13:37 -0400 |
---|---|---|
committer | Jean Lucas | 2019-08-20 20:13:37 -0400 |
commit | e972c0f73a71d6d1372fa9c594aae9e2d4041307 (patch) | |
tree | aa0591160c6ad81defdbeb04276c78b9dcde7a70 | |
parent | 8645e21261427df6c8e7df7dbf1be0e1ea44f089 (diff) | |
download | aur-e972c0f73a71d6d1372fa9c594aae9e2d4041307.tar.gz |
Fix systemd service file
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = kpatch pkgdesc = Live kernel patching pkgver = 0.7.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/dynup/kpatch arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=kpatch pkgver=0.7.1 -pkgrel=1 +pkgrel=2 pkgdesc='Live kernel patching' arch=(i686 x86_64) url=https://github.com/dynup/kpatch @@ -34,16 +34,21 @@ package() { cd kpatch-$pkgver make DESTDIR="$pkgdir" install - # Remove incompatible init system file cd "$pkgdir" + + # Remove incompatible init system file rm etc/init/kpatch.conf rmdir -p etc/init - # Fix directory structure cd usr + + # Fix directory structure mv local/* . rmdir local mv lib{exec,}/kpatch mv {s,}bin/kpatch rmdir libexec sbin + + # Fix file path in systemd service file + sed -i 's#local/s##' lib/systemd/system/kpatch.service } |