testing/kpatch: split -systemd

This commit is contained in:
Achill Gilgenast 2025-11-16 15:25:55 +01:00
parent 2538d72aa0
commit dc07194a51

View File

@ -2,7 +2,7 @@
# Maintainer: Nicolas Lorin <androw95220@gmail.com>
pkgname=kpatch
pkgver=0.9.11
pkgrel=0
pkgrel=1
pkgdesc="live kernel patching"
url="https://github.com/dynup/kpatch"
arch="x86_64 aarch64"
@ -16,7 +16,7 @@ depends="
"
makedepends="argp-standalone"
options="!check"
subpackages="kpatch-doc"
subpackages="$pkgname-doc $pkgname-systemd"
source="$pkgname-$pkgver.tar.gz::https://github.com/dynup/kpatch/archive/v$pkgver.tar.gz
02-argp.patch
03-ppc64.patch
@ -28,10 +28,9 @@ build() {
package() {
make DESTDIR="$pkgdir" PREFIX="/usr" install
cd "$pkgdir"
# Remove incompatible init system file
rm -r etc/init
rm -r "$pkgdir"/etc/init
}
sha512sums="