38 lines
1.7 KiB
Bash
38 lines
1.7 KiB
Bash
# Maintainer: Statzitz <jeremymosas@gmail.com>
|
|
|
|
pkgname=xen-runit
|
|
pkgver=20230723
|
|
pkgrel=1
|
|
pkgdesc='runit service for xen'
|
|
arch=(any)
|
|
url='https://sex.viyurz.fr'
|
|
license=(WTFPL)
|
|
depends=(runit xen xen-qemu seabios edk2-ovmf xen-pvhgrub xen-docs)
|
|
provides=(xen-runit)
|
|
conflicts=(xen-runit)
|
|
install=xen-runit.install
|
|
source=(xen-init-dom0.run xenconsoled.run xendomains.run xenstored.run proc-xen.check proc-xen.finish proc-xen.run proc-xen.sysinit)
|
|
sha256sums=('d54a38de5f19fb37a064f247938b1c496d6f6aad6bf3641358e57bacf420e926'
|
|
'3ee10a7280750c4ffc032e3aaa50b89a91869e7ab8b46b6c0ddcca7ed80bbbe8'
|
|
'38037f89433ad43e0624b77cc8f16a574896c604e37a2b4c1a6a441d6bd13c2d'
|
|
'4fbfd708b576f6a0c0a7c4dab622818d7eeeebdfdac71882d5567f056c6443ad'
|
|
'8f8ffb10f4933b8d50a1631d6124dd79358c599cdd68e600cb01b7fc7d0bc376'
|
|
'12b894727ee44e26936fd3b830fcd76f375b1e42cb0b7ab8bb37465e0c458532'
|
|
'3a2aa6320dd3f316b5534b6f8127d5d0cd27ff3704434620e7a832274df39cde'
|
|
'29a0c0d7e37e57dd59db569707aca93689be51f6fe665a7e3d70d144347f0a9b')
|
|
|
|
package() {
|
|
cd "$srcdir"
|
|
install -Dm755 xen-init-dom0.run "$pkgdir/etc/runit/sv/xen-init-dom0/run"
|
|
install -Dm755 xenconsoled.run "$pkgdir/etc/runit/sv/xenconsoled/run"
|
|
install -Dm755 xendomains.run "$pkgdir/etc/runit/sv/xendomains/run"
|
|
install -Dm755 xenstored.run "$pkgdir/etc/runit/sv/xenstored/run"
|
|
install -Dm755 proc-xen.check "$pkgdir/etc/runit/sv/proc-xen/check"
|
|
install -Dm755 proc-xen.finish "$pkgdir/etc/runit/sv/proc-xen/finish"
|
|
install -Dm755 proc-xen.run "$pkgdir/etc/runit/sv/proc-xen/run"
|
|
install -Dm755 proc-xen.sysinit "$pkgdir/usr/lib/rc/sv.d/proc-xen"
|
|
|
|
install -d ${pkgdir}/etc/rc/sysinit
|
|
|
|
ln -sf "$pkgdir/usr/lib/rc/sv.d/proc-xen" "$pkgdir/etc/rc/sysinit/06-proc-xen"
|
|
}
|