diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-07-21 18:18:48 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-07-21 18:19:23 +0300 |
| commit | 0c8765bab716051bb15c6b9ceee3bd8fd669849c (patch) | |
| tree | c17e1e1079998a056097a9b83d707a332093d3b4 /PKGBUILD | |
| parent | 39d5ce89fd10d58651c7e15d6a5ef531095cb76a (diff) | |
Add systemd units and post_install rkt group creation
Diffstat (limited to 'PKGBUILD')
| -rw-r--r-- | PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -4,7 +4,7 @@ # Contributor: Boohbah <boohbah at gmail dot com> pkgname=rkt-git -pkgver=0.7.0.r47.gfd6e630 +pkgver=0.7.0.r70.g278f2e9 pkgrel=1 pkgdesc="App container runtime" arch=('x86_64') @@ -16,6 +16,7 @@ replaces=('rocket' 'rkt') conflicts=('rocket' 'rkt') source=("$pkgname::git+$url") md5sums=('SKIP') +install="rkt.install" pkgver() { cd "$pkgname" @@ -36,7 +37,15 @@ build() { } package() { - cd "${pkgname}"/build-rkt-*+git + cd "${pkgname}" + local unit + for unit in rkt-gc.{timer,service} rkt-metadata.{socket,service} + do + install -Dm644 "dist/init/systemd/${unit}" \ + "${pkgdir}/usr/lib/systemd/system/${unit}" + done + + cd build-rkt-*+git install -Dm755 bin/rkt "$pkgdir/usr/bin/rkt" install -Dm755 bin/actool "$pkgdir/usr/bin/actool" install -Dm644 bin/stage1.aci "$pkgdir/usr/share/rkt/stage1.aci" |
